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

Re: [PATCH] git-check-ignore.txt: Clarify exit codes

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 11, 2014, 23:21 UTC
Message-ID
<xmqqa92tdb80.fsf@gitster.dls.corp.google.com>
In-Reply-To
<CAMAJHBYVMy-tc_aCjyeN7=VMG=k7gjWh9evL6bcJLzYfQcf6yg@mail.gmail.com>
Florian Hassanen <florian.hassanen@gmail.com> writes:
> Maybe your global ignore file gets in the way?
No, as I do not have one.
> is one of a.o and vendor.o already in your index?

Bingo. I did "git add ." to see if the .gitignore file is doing the right thing before running that demonstration.

It smells like you spotted a bug in the behaviour, not a bug in the documentation, at least to me.

Previous: Florian HassanenNext: Florian Hassanen
Message 4 of 5 in “git-check-ignore.txt: Clarify exit codes”
  1. git-check-ignore.txt: Clarify exit codesFlorian Hassanen, Dec 11, 2014
  2. Junio C HamanoDec 11, 2014
  3. Florian HassanenDec 11, 2014
  4. Junio C HamanoDec 11, 2014
  5. Florian HassanenDec 11, 2014

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.