Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make sure get_sha1 does not accept ambiguous sha1 prefix (again).
[gitweb.git]
/
local-fetch.c
diff --git
a/local-fetch.c
b/local-fetch.c
index 0dbed8910bbc3aa570c512eff893a4c603fdb5f7..a57386ca6a632c2e0a43348ed8b147692746a44f 100644
(file)
--- a/
local-fetch.c
+++ b/
local-fetch.c
@@
-231,6
+231,8
@@
int main(int argc, char **argv)
get_verbosely = 1;
else if (argv[arg][1] == 'w')
write_ref = argv[++arg];
+ else if (!strcmp(argv[arg], "--recover"))
+ get_recover = 1;
else
usage(local_pull_usage);
arg++;