diff options
Diffstat (limited to 'builtin-checkout-index.c')
| -rw-r--r-- | builtin-checkout-index.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/builtin-checkout-index.c b/builtin-checkout-index.c index 7e42024c67..eb1fc9aa6f 100644 --- a/builtin-checkout-index.c +++ b/builtin-checkout-index.c @@ -166,7 +166,7 @@ int cmd_checkout_index(int argc, const char **argv, const char *prefix)  	int read_from_stdin = 0;  	int prefix_length; -	git_config(git_default_config); +	git_config(git_default_config, NULL);  	state.base_dir = "";  	prefix_length = prefix ? strlen(prefix) : 0; | 
