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