Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Forward port the "funny ref avoidance" in clone and fetch from maint branch.
[gitweb.git]
/
git-fetch.sh
diff --git
a/git-fetch.sh
b/git-fetch.sh
index 0cb1596f50c998ba1f4ac0e2049e1c18459fc5a8..31b1cf0306c238dad7fb5b808a7925776ac4d762 100755
(executable)
--- a/
git-fetch.sh
+++ b/
git-fetch.sh
@@
-176,7
+176,7
@@
if test "$tags"
then
taglist=$(git-ls-remote --tags "$remote" |
sed -e '
- /\^
{}$
/d
+ /\^/d
s/^[^ ]* //
s/.*/&:&/')
if test "$#" -gt 1