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

Re: [PATCH] Document core.excludesfile for git-add

From
Johan Herland <johan@herland.net>
Date
May 17, 2007, 15:45 UTC
Message-ID
<200705171745.09307.johan@herland.net>
In-Reply-To
<20070517143542.GB15709@ginosko.local>
On Thursday 17 May 2007, Michael Hendricks wrote:
Show 7 quoted lines
> On Wed, May 16, 2007 at 10:31:12PM -0700, Junio C Hamano wrote:
> > Thanks, but wouldn't this belong to Documentation/config.txt
> > instead, I wonder?
> 
> It appears to my untrained eye that core.excludesfiles only works for
> git-add.  It seems to have no effect on git-status and the only code
> that mentions core.excludesfile is builtin-add.c

If so, we should probably fix that. The set of ignore files parsed by relevant git commands should be consistent. We don't want a situation where exclude patterns in a file are picked up by some git commands, but not by others.

...Johan
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Petr Baudis
Message 5 of 5 in “Document core.excludesfile for git-add”
  1. Document core.excludesfile for git-addMichael Hendricks, May 17, 2007
  2. Junio C HamanoMay 17, 2007
  3. Michael HendricksMay 17, 2007
  4. Petr BaudisMay 17, 2007
  5. Johan HerlandMay 17, 2007

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.