Øystein Walle <oys...@gmail.com> writes:

> Maybe it's all subjective... I'm okay with just leaving things as they
> are.

Lack of "-z" in for-each-ref can be called an inconsistency that
already exists you may want to fix in any case.

As an extension to that, I would not be fundamentally against a new
option, e.g. "--terminiator=7", that causes us to use putchar(7)
instead of putchar('\n') or putchar('\0') to terminate each records.
At that point, "-z" becomes a synonym for "--terminator=0".

And "--terminator=''" might even be a natural extension to that
option to cause us not to call any putchar() there.

If we were to do that, we should do them for all commands that let
you use "-z", not just for-each-ref, for consistency reasons, I
would think.

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to