From: Junio C Hamano Date: Mon, 09 Sep 2019 18:08:36 GMT Subject: Re: [RFC PATCH 1/1] for-each-ref: add '--no-symbolic' option Message-ID: In-Reply-To: Eric Freese 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.