Jan Krüger <jk@xxxxx> writes: > In scripts meant to generate user-consumable output, it can be helpful > to resolve a symbolic ref and output the result in a shortened form, > such as for use in shell prompts. Add a new -s option to allow this. I think this one (unlike 1/2) makes sense, but a single letter -s feels a bit too vague. Always spelling in long option "--short" so that it matches "%(refname:short)" in for-each-ref might be better, I would think. Especially given that the expected use case is primarily in scripts not from the command line, being more explicit and easier to read has value over being short and easier to (mis)type. -- 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