Re: [PATCH v1 2/2] log: add option to choose which refs to decorate
- From
Rafael Ascensão <rafa.almas@gmail.com>
- Date
- Nov 6, 2017, 03:24 UTC
- Message-ID
- <9168f7b8-3b9d-a933-e542-ae5b741cb824@gmail.com>
- In-Reply-To
- <xmqqshdtl057.fsf@gitster.mtv.corp.google.com>
Would checking the output of ref_exists() make sense here? By that I mean, only add a trailing '/*' if the ref doesn't exist.
Unless I am missing something obvious this would allow us to keep both shortcuts and exact patterns.