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]
/
ssh-fetch.c
diff --git
a/ssh-fetch.c
b/ssh-fetch.c
index 683a1e4a01f250043324ae49fe61cc33470ceb9c..05d3e49f25bc2d5dbce4bcd86c0292e07135063d 100644
(file)
--- a/
ssh-fetch.c
+++ b/
ssh-fetch.c
@@
-119,6
+119,8
@@
int main(int argc, char **argv)
} else if (argv[arg][1] == 'w') {
write_ref = argv[arg + 1];
arg++;
+ } else if (!strcmp(argv[arg], "--recover")) {
+ get_recover = 1;
}
arg++;
}