Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Introduce is_bare_repository() and core.bare configuration variable
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index 5cbd130be2664258b488d8b4ca914550e10906a0..20e6ecc361325447f5784aba421f7f1588be184c 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-269,6
+269,11
@@
int git_default_config(const char *var, const char *value)
return 0;
}
+ if (!strcmp(var, "core.bare")) {
+ is_bare_repository_cfg = git_config_bool(var, value);
+ return 0;
+ }
+
if (!strcmp(var, "core.ignorestat")) {
assume_unchanged = git_config_bool(var, value);
return 0;