author | Stephen Boyd <bebarino@gmail.com> | |
Thu, 18 Jun 2009 09:17:54 +0000 (02:17 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 18 Jun 2009 19:20:36 +0000 (12:20 -0700) | ||
commit | ed342fdea0b7fd466ed3257c5e68aa81c391b782 | |
tree | 52da9af7703434bc8cb40c74e7e52e3afa4ef38c | tree | snapshot |
parent | 90dce51584e908232ff279a6c2949ea9855dddf3 | commit | diff |
add: allow configurations to be overriden by command line
Don't call git_config after parsing the command line options, otherwise
the config settings will override any settings made by the command line.
This can be seen by setting add.ignore_errors and then specifying
--no-ignore-errors when using git-add.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Don't call git_config after parsing the command line options, otherwise
the config settings will override any settings made by the command line.
This can be seen by setting add.ignore_errors and then specifying
--no-ignore-errors when using git-add.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-add.c | diff | blob | history | |
t/t3700-add.sh | diff | blob | history |