[PATCH] add gitbuildurl function