Øystein Walle <oystwa@xxxxxxxxx> writes: > If the given format string expands to the empty string a newline is > still printed it. This makes using the output linewise more tedious. For > example, git update-ref --stdin does not accept empty lines. > > Add options to branch and for-each-ref to not print these empty lines. > The default behavior remains the same. > > Signed-off-by: Øystein Walle <oystwa@xxxxxxxxx> > --- > Dang, you're right. But yes, it was a near-identical patch to > builtin/tag.c. Along with a test, of course. There are small nits like "do not explicitly initialize statics to 0", which may not be big enough to warrant a reroll. Other than that, looking good. Thanks, will replace.