From: Simon Richter Date: Wed, 04 Jan 2006 13:13:46 GMT Subject: [PATCH] Ignore tags that contain colons in their names Message-ID: <43BBCA0A.6020906@kleinhenz.de> Hi, a repo I was trying to clone contained a tag that somehow had a colon in its name, which is illegal. The attached patch makes git-fetch ignore these tags rather than barf. Simon diff --git a/git-fetch.sh b/git-fetch.sh index 125bcea..6d930b2 100755 --- a/git-fetch.sh +++ b/git-fetch.sh @@ -191,6 +191,7 @@ then taglist=$(git-ls-remote --tags "$remote" | sed -e ' /\^/d + /:/d s/^[^ ]* // s/.*/.&:&/') if test "$#" -gt 1