diff options
author | Øystein Walle <oystwa@gmail.com> | 2023-04-07 19:53:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-13 17:07:45 +0200 |
commit | aabfdc9514a51d8d9a2f3afbc29e5044ccf7191b (patch) | |
tree | ce139c4fbbe04454b87b128865b2047f8ae5070f /t/t0019-json-writer.sh | |
parent | Git 2.40 (diff) | |
download | git-aabfdc9514a51d8d9a2f3afbc29e5044ccf7191b.tar.xz git-aabfdc9514a51d8d9a2f3afbc29e5044ccf7191b.zip |
branch, for-each-ref, tag: add option to omit empty lines
If the given format string expands to the empty string, a newline is
still printed. This makes using the output linewise more tedious. For
example, git update-ref --stdin does not accept empty lines.
Add options to "git branch", "git for-each-ref", and "git tag" to
not print these empty lines. The default behavior remains the same.
Signed-off-by: Øystein Walle <oystwa@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0019-json-writer.sh')
0 files changed, 0 insertions, 0 deletions