Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add core.usereplacerefs config option
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index 7968ef7566a1fc28c5d8e2ba99ae87c52fe23ece..5c6d8d17dd6d5321b28d6f4951c241d38b73af15 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-1347,6
+1347,11
@@
static int git_default_core_config(const char *var, const char *value)
var, value);
}
+ if (!strcmp(var, "core.usereplacerefs")) {
+ read_replace_refs = git_config_bool(var, value);
+ return 0;
+ }
+
/* Add other config variables here and to Documentation/config.txt. */
return 0;
}