Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add compat/setenv.c, use in git.c.
[gitweb.git]
/
http-fetch.c
diff --git
a/http-fetch.c
b/http-fetch.c
index 435317342be0d31088f5aae5b337e090b40199b5..ad59f1cce61d73fa832828aabb880f082debf94d 100644
(file)
--- a/
http-fetch.c
+++ b/
http-fetch.c
@@
-922,6
+922,8
@@
int main(int argc, char **argv)
int arg = 1;
int rc = 0;
+ setup_git_directory();
+
while (arg < argc && argv[arg][0] == '-') {
if (argv[arg][1] == 't') {
get_tree = 1;