From: Junio C Hamano Date: Tue, 30 Aug 2005 08:08:24 +0000 (-0700) Subject: parse-remote: trivial fix to allow refs/{heads,tags}/ spelled easier. X-Git-Tag: v0.99.6~44 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;ds=sidebyside;h=61f01a5b773915402da37a34e706db56fe90b776;hp=61f01a5b773915402da37a34e706db56fe90b776;p=git.git 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 ---