Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Possible cleanups for local-pull.c
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index 95d38120517e31f9c539daeaaec0b75da25f1e82..da10742c44201cfb6f86eb8d80f3be27940335ff 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-179,7
+179,7
@@
int main(int argc, char **argv)
chdir(".git");
if (access("objects", X_OK) || access("refs", X_OK))
die("git-upload-pack: %s doesn't seem to be a git archive", dir);
-
setenv("GIT_DIR", ".", 1
);
+
putenv("GIT_DIR=."
);
upload_pack();
return 0;
}