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

Re: Strange behaviour with git-add, .gitignore and a tracked file

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 16, 2011, 23:42 UTC
Message-ID
<7vmxasf5i1.fsf@alter.siamese.dyndns.org>
In-Reply-To
<201112162258.04661.bombe@pterodactylus.net>
David ‘Bombe’ Roden  <bombe@pterodactylus.net> writes:
> This behaviour was reproduced with 1.7.7.4 (on OS X), 1.7.5.4, 1.7.1, 
> 1.7.8-247-g10f4eb6 (latest master as of a couple of hours ago) (all Linux).
Doesn't that suggest perhaps it could be a designed behaviour?

Perhaps to help users to realize that their .gitignore pattern may want to be improved?

Previous: David ‘Bombe’ Roden
Message 2 of 2 in “Strange behaviour with git-add, .gitignore and a tracked file”
  1. David ‘Bombe’ RodenDec 16, 2011
  2. Junio C HamanoDec 16, 2011

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.