Re: [RFC/PATCH 04/11] ref-filter: add 'ifexists' atom
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 29, 2015, 18:56 UTC
- Message-ID
- <xmqqtwsm94j1.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <xmqqy4hy973q.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
>> Couldn't think of a better replacer, any suggestions would be welcome :) > > See below. > ... > One way to do all of the above is ...
Note that is just "one way", not the only or not necessarily the best. It certainly is not the easiest, I think.
%(if:atom)...%(endif)
might be easier to implement.