Re: [PATCH 3/4 v8] Let core.attributesfile default to $XDG_CONFIG_HOME/git/ignore
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 25, 2012, 07:56 UTC
- Message-ID
- <vpqd34nhljj.fsf@bauges.imag.fr>
- In-Reply-To
- <7vlijbhn3x.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> I somehow suspect this is going backwards. ".gitignore" may have > been the original mistake; it is much more than ".cvsignore".
I don't think they are _that_ different, and if we're talking about how other VCS call this, I can think of ".hgignore", ".bzrignore", ...
Even within the Git world, see how "man git-add" describes the behavior of ignore/exclude:
The git add command will not add ignored files by default. If any
ignored files were explicitly specified on the command line, git
add will fail with a list of ignored files. Ignored files reached
by directory recursion or filename globbing performed by Git
(quote your globs before the shell) will be silently ignored. The
git add command can be used to add ignored files with the -f
(force) option.Another fun fact: google "git exclude" gives this as first result
http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
;-)
-- Matthieu Moy http://www-verimag.imag.fr/~moy/