projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "git-push: avoid falling back on pushing "matching" refs."
[git.git]
/
git-fetch.sh
diff --git
a/git-fetch.sh
b/git-fetch.sh
index
73e57bd
..
4a0cb32
100755
(executable)
--- a/
git-fetch.sh
+++ b/
git-fetch.sh
@@
-40,6
+40,9
@@
do
-v|--verbose)
verbose=Yes
;;
-v|--verbose)
verbose=Yes
;;
+ -k|--k|--ke|--kee|--keep)
+ keep=--keep
+ ;;
-*)
usage
;;
-*)
usage
;;
@@
-309,7
+312,7
@@
fetch_main () {
( : subshell because we muck with IFS
IFS=" $LF"
(
( : subshell because we muck with IFS
IFS=" $LF"
(
- git-fetch-pack "$remote" $rref || echo failed "$remote"
+ git-fetch-pack
$keep
"$remote" $rref || echo failed "$remote"
) |
while read sha1 remote_name
do
) |
while read sha1 remote_name
do