request-pull: resurrect "pretty refname" feature
commit5aae66bd998429959d89c5bedf0bd8175a2b3f33
authorJunio C Hamano <gitster@pobox.com>
Tue, 25 Feb 2014 21:44:46 +0000 (25 13:44 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Feb 2014 21:45:38 +0000 (25 13:45 -0800)
tree7ea854d749537e03fc2bae572ad87dd0d41f1d9d
parent28ad685f70f93133f2c872e4b1ea2a8f87eaebb5
request-pull: resurrect "pretty refname" feature

When asking to fetch/pull a branch whose name is B or a tag whose
name is T, we used to show the command to run as:

git pull $URL B
        git pull $URL tags/T

even when B and T were spelled in a more qualified way in order to
disambiguate, e.g. heads/B or refs/tags/T, but the recent update
lost this feature.  Resurrect it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-request-pull.sh
t/t5150-request-pull.sh