On Mon, May 03, 2010 at 10:25:19PM +0200, Michael J Gruber wrote: > Introduce a :short modifier to objectname which outputs the abbreviated > object name. I don't see any reason not to do this if you have a use for it. > TODO: test, doc Yep. > + else if (!strcmp(name, "objectname:short")) { > + v->s = find_unique_abbrev(obj->sha1, DEFAULT_ABBREV); > + } In theory there could be multiple such ":$foo" tags, and we would have to fix this parser. But given that there aren't other modifiers now, I think we can just push that problem off until it happens (if ever). -Peff -- 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