Subject: Re: [PATCH v3] branch, for-each-ref, tag: add option to omit empty lines

From: Junio C Hamano <[email-masked]>
Date: Fri, 07 Apr 2023 11:48:05 -0700

Øystein Walle <[email-masked]> 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 <[email-masked]>
> ---
> 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.