Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
apply --cached: do not check newly added file in the working tree
[gitweb.git]
/
local-fetch.c
diff --git
a/local-fetch.c
b/local-fetch.c
index 0931109143e0ce1c2f03f654b3ab67965220011a..fa9e697fd3fa8fe305184f78fdf500532c14ab63 100644
(file)
--- a/
local-fetch.c
+++ b/
local-fetch.c
@@
-207,6
+207,8
@@
int main(int argc, char **argv)
char *commit_id;
int arg = 1;
+ setup_git_directory();
+
while (arg < argc && argv[arg][0] == '-') {
if (argv[arg][1] == 't')
get_tree = 1;