Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-18 08:47:06 +0400
committerJunio C Hamano <junkio@cox.net>2005-10-18 08:47:06 +0400
commitcdb3950801fec8e9efa1607093a6e51737bacba0 (patch)
tree3194f5072432ceacf766c450e663900fabc074ac /git-fetch.sh
parent508c1d1c9b13f53783d024ccb28f77d0e6f10e7f (diff)
Forward port the "funny ref avoidance" in clone and fetch from maint branch.
Somehow I forgot to forward port these fixes. "git clone" from a repository prepared with the latest update-server-info would fail without this patch. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-fetch.sh')
-rwxr-xr-xgit-fetch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-fetch.sh b/git-fetch.sh
index 0cb1596f50..31b1cf0306 100755
--- 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