Code

git-push: accept tag <tag> as advertised.
authorJunio C Hamano <junkio@cox.net>
Wed, 13 Dec 2006 18:03:39 +0000 (10:03 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 13 Dec 2006 18:04:01 +0000 (10:04 -0800)
commit411fb8baa6862b76f7bdd9fc0d5844855a4db589
tree72d27e82c689aa1a100cd8b89a578c327a0f34b9
parent7ef0435088f41165ece95b6f226d3c15438505a5
git-push: accept tag <tag> as advertised.

The documentation talked about "git push $URL tag <tag>" as a short-hand
for refs/tags/<tag>:refs/tags/<tag> for a long time but that was never
the case (the short-hand was for "git fetch").  Instead of fixing the
documentation, just add a bit of code to match it since it is easy to do
and would make it more consistent.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-push.c