Re: [PATCH 2/2] pathspec: don't error out on all-exclusionary pathspec patterns
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Feb 8, 2017, 22:16 UTC
- Message-ID
- <CA+55aFycVda9LYtLuG-oBci1Q2-7TVx3jv0HRZzSP0gQsWvXjw@mail.gmail.com>
- In-Reply-To
- <xmqqk290uywp.fsf@gitster.mtv.corp.google.com>
On Wed, Feb 8, 2017 at 1:59 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> > Thanks. Even though the current code does not refer to the original > prefixlen after the added hunk, I'd prefer not to destroy it to > avoid future troubles, so I'll queue with a bit of tweak there, > perhaps like the attached.
Yeah, I considered that. Along with just passing in a NULL prefix string too for that case. Not that it matters.
So ack on that change,
Linus