Re: [PATCH v2 2/2] object name: introduce '^{/!-<negativepattern>}' notation
- From
- Stephen Smith <ischis2@cox.net>
- Date
- Jan 8, 2016, 06:04 UTC
- Message-ID
- <loom.20160108T065547-969@post.gmane.org>
- In-Reply-To
- <xmqqbngqcfxd.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster <at> pobox.com> writes:
Show 7 quoted lines
> > echo modified >>a-blob && > > git add -u && > > git commit -m Modified && > > + git branch modref && > > This probably belongs to the previous step, no? >
What did you mean by this comment? I looked at the original patch and at Will's response to your comment and am not quite sure what was meant.
> > +test_expect_success 'ref^{/!-}' '
> > + test_must_fail git rev-parse master^{/!-}
> > +'
> I plan on leaving this in.
> > +test_expect_success 'ref^{/!-.}' '
> > + test_must_fail git rev-parse master^{/!-.}
> > +'
> I plan on leaving this in.