Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
cocci: simplify "if (++u > 1)" to "if (u++)"
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index 5b48cac3a95c64bd01b70a38e29c0b5dc6170bef..c27c38738b2a9d9d61460b150d5ab4d36bb9cf5b 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-164,7
+164,7
@@
static int handle_options(const char ***argv, int *argc, int *envchanged)
if (envchanged)
*envchanged = 1;
} else if (!strcmp(cmd, "--no-replace-objects")) {
-
check
_replace_refs = 0;
+
read
_replace_refs = 0;
setenv(NO_REPLACE_OBJECTS_ENVIRONMENT, "1", 1);
if (envchanged)
*envchanged = 1;