Code

git-fetch --tags: reject malformed tags.
authorJunio C Hamano <junkio@cox.net>
Fri, 6 Jan 2006 03:42:12 +0000 (19:42 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 6 Jan 2006 03:42:12 +0000 (19:42 -0800)
commit81214e4ddf2f0114ce7756a014dc533340fcb3f9
tree98698aa55c940651245c54945689e19bf364bfa3
parent353ce81597e831969ac37d6991346f8c39c1488e
git-fetch --tags: reject malformed tags.

When the other end was prepared with older git and has tags that
do not follow the naming convention (see check-ref-format), do not
barf but simply reject to copy them.

Initial fix by Simon Richter, but done differently.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh