Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: don't pass empty string arguments to submodule--helper clone
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index 647a15ef7258dfedbb221bcacb7b40a30eb9b17e..b95ac3a9cd5ca4fef392a2202f0a5722d15b8dde 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-1599,6
+1599,10
@@
int git_config_get_untracked_cache(void)
int val = -1;
const char *v;
+ /* Hack for test programs like test-dump-untracked-cache */
+ if (ignore_untracked_cache_config)
+ return -1;
+
if (!git_config_get_maybe_bool("core.untrackedcache", &val))
return val;