Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: reset: add some missing tables
[gitweb.git]
/
environment.c
diff --git
a/environment.c
b/environment.c
index 571ab56b7e58e2db9e1182de7e78fd2d7596e872..5171d9f9a4a30054983638e9e19e61f422724373 100644
(file)
--- a/
environment.c
+++ b/
environment.c
@@
-84,6
+84,8
@@
static void setup_git_env(void)
git_graft_file = getenv(GRAFT_ENVIRONMENT);
if (!git_graft_file)
git_graft_file = git_pathdup("info/grafts");
+ if (getenv(NO_REPLACE_OBJECTS_ENVIRONMENT))
+ read_replace_refs = 0;
}
int is_bare_repository(void)