From: Simon Richter <Simon.Richter@kleinhenz.de>
To: git <git@vger.kernel.org>
Subject: [PATCH] Ignore tags that contain colons in their names
Date: Wed, 04 Jan 2006 14:13:46 +0100 [thread overview]
Message-ID: <43BBCA0A.6020906@kleinhenz.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 190 bytes --]
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
[-- Attachment #1.2: ignore-colon-tags.diff --]
[-- Type: text/plain, Size: 264 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 307 bytes --]
next reply other threads:[~2006-01-04 13:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-04 13:13 Simon Richter [this message]
2006-01-06 22:37 ` [PATCH] Ignore tags that contain colons in their names Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43BBCA0A.6020906@kleinhenz.de \
--to=simon.richter@kleinhenz.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.