Hi, On Sun, 30 Dec 2007, Dmitry Potapov wrote: > How about this: > > + grep '^refs/\([^/]\+/\)\?'"$ref"'$')" Maybe. I wonder whether just adding a "$" (which I obviously forgot) would not be enough... Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html