git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 4 of 4 in “pathspec: don't error out on all-exclusionary pathspec patterns”
  1. 2/2 pathspec: don't error out on all-exclusionary pathspec patternsLinus Torvalds, Feb 8, 2017
  2. Cornelius WeigFeb 8, 2017
  3. Junio C HamanoFeb 8, 2017
  4. Linus TorvaldsFeb 8, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.