Re: [PATCH v2 2/2] object name: introduce '^{/!-<negativepattern>}' notation
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jan 9, 2016, 02:18 UTC
- Message-ID
- <CACsJy8Dar9sCkTg_SQsDUOWYNQ1PHjmA0KcgrvpvmeY=yVXPMg@mail.gmail.com>
- In-Reply-To
- <loom.20160108T065547-969@post.gmane.org>
On Fri, Jan 8, 2016 at 1:04 PM, Stephen Smith <ischis2@cox.net> wrote:
>> > +test_expect_success 'ref^{/!-}' '
>> > + test_must_fail git rev-parse master^{/!-}
>> > +'Shouldn't it be ^{!/... instead of ^{/!... ? People could have a pattern starting with "!" and /! will change its meaning. On the other hand, anything else after { is still reserved and can safely be used.
-- Duy