author | Junio C Hamano <junkio@cox.net> | |
Tue, 30 Aug 2005 08:08:24 +0000 (01:08 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 30 Aug 2005 08:08:24 +0000 (01:08 -0700) | ||
commit | 61f01a5b773915402da37a34e706db56fe90b776 | |
tree | ce9b5a4124cd4829c6113131e0bad449d682432a | tree | snapshot |
parent | 51017101c7a308745ba3c04944457f1dc6a55780 | commit | diff |
parse-remote: trivial fix to allow refs/{heads,tags}/ spelled easier.
Earlier we always prefixed refs/heads to the token given to "git fetch"
(and "git pull") as refspec. This was a mistake. Allow them to be
spelled like "master:refs/tags/paulus" to mean "I want to fetch the
master there and store it as my local "paulus" tag.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Earlier we always prefixed refs/heads to the token given to "git fetch"
(and "git pull") as refspec. This was a mistake. Allow them to be
spelled like "master:refs/tags/paulus" to mean "I want to fetch the
master there and store it as my local "paulus" tag.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-parse-remote-script | diff | blob | history |