Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
contrib/examples/git-clone.sh: avoid "test <cond> -a/-o <cond>"
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index 32f4f6cb899c8b1862c2f7aca3f26b2b8d05968f..778057294892d68b3dee58869cf22265223cab83 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-78,7
+78,7
@@
static int handle_options(const char ***argv, int *argc, int *envchanged)
if (envchanged)
*envchanged = 1;
} else if (!strcmp(cmd, "--no-replace-objects")) {
-
read
_replace_refs = 0;
+
check
_replace_refs = 0;
setenv(NO_REPLACE_OBJECTS_ENVIRONMENT, "1", 1);
if (envchanged)
*envchanged = 1;