Thread (1 message) 1 message, 1 author, 2019-09-09

Re: [RFC PATCH 1/1] for-each-ref: add '--no-symbolic' option

From: Junio C Hamano <hidden>
Date: 2019-09-09 18:08:45

Eric Freese [off-list ref] writes:
However, this still prints an empty line for each ref that does not match the
condition. This can be cleaned up by piping through `grep .`, but what would
you think of adding a new optional flag to git-for-each-ref to prevent it from
printing empty expanded format strings?
Offhand I do not think of a reason why anybody wants to give a
format that results in a total blank, so it might not even need to
be an optional behaviour, but certainly a new option that triggers
such a behaviour would be a safe thing to add.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help