add: Support specifying an excludes file with a configuration variable
commit896bdfa2581f96d3df9a312510c39ce7d80790cd
authorJames Bowes <jbowes@dangerouslyinc.com>
Wed, 28 Feb 2007 03:31:10 +0000 (27 22:31 -0500)
committerJunio C Hamano <junkio@cox.net>
Fri, 9 Mar 2007 08:06:00 +0000 (9 00:06 -0800)
treeb6572edd6bc7f7ecf55e3c3cde9fb3d975e95e02
parentbd1fc628b8d456bdaea3e10d435cf1e98bc5d8a8
add: Support specifying an excludes file with a configuration variable

This adds the 'core.excludesfile' configuration variable. This variable can
hold a path to a file containing patterns of file names to exclude from
git-add, like $GIT_DIR/info/exclude. Patterns in the excludes file are used
in addition to those in info/exclude.

Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-add.c