Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation/hooks: add pre-auto-gc hook
[gitweb.git]
/
receive-pack.c
diff --git
a/receive-pack.c
b/receive-pack.c
index a971433db155bbac162cece038b73dc64e682ac0..f83ae87e150ff93728da989f1d35ce0ad7c10f60 100644
(file)
--- a/
receive-pack.c
+++ b/
receive-pack.c
@@
-471,6
+471,8
@@
int main(int argc, char **argv)
if (!dir)
usage(receive_pack_usage);
+ setup_path(NULL);
+
if (!enter_repo(dir, 0))
die("'%s': unable to chdir or not a git archive", dir);