>>>>> On 2009-01-01 20:26 PST, David Aguilar writes: David> You might want to use 'git symbolic-ref' instead. David> $ git symbolic-ref HEAD | sed -e 's,refs/heads/,,' David> master Thanks, that is better. How about an option to git-symbolic-ref that gets rid of the refs/heads/ ? -- 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