Code

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