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

Re: [PATCH] check-ignore: fix handling with negated patterns

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 19, 2020, 21:36 UTC
Message-ID
<xmqq7e0idztk.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<CABPp-BHaTK62W4_rUaJXNUPSfu9cBD5MrmjgbJeMuA+7s3+rGg@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 6 quoted lines
> No, it is not more like that; the check-ignore manpage currently claims this:
>
>        For each pathname given via the command-line or from a file via
> --stdin, check whether the file is excluded by .gitignore (or
>        other input files to the exclude mechanism) and output the path
> if it is excluded.

Thanks. I wasn't paying attention to what happened to the manpage (or to the command for that matter) after I wrote it as a debugging aid X-<.

The updated version looked reasonable to me.  Thanks.
Previous: Elijah NewrenNext: Elijah Newren via GitGitGadget
Message 6 of 9 in “check-ignore: fix handling with negated patterns”
  1. check-ignore: fix handling with negated patternsElijah Newren via GitGitGadget, Feb 17, 2020
  2. Junio C HamanoFeb 17, 2020
  3. Elijah NewrenFeb 17, 2020
  4. Junio C HamanoFeb 17, 2020
  5. Elijah NewrenFeb 17, 2020
  6. Junio C HamanoFeb 19, 2020
  7. check-ignore: fix documentation and implementation to matchElijah Newren via GitGitGadget, Feb 18, 2020
  8. Junio C HamanoFeb 18, 2020
  9. check-ignore: fix documentation and implementation to matchElijah Newren via GitGitGadget, Feb 18, 2020

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.