• Junio C Hamano's avatar
    request-pull: really favor a matching tag · 682853e6
    Junio C Hamano authored
    After tagging the tip of "dev" branch with a "for-linus" tag and
    pushing both out, running
    	$ git request-pull $url $last_release dev
    would produce an output asking the 'dev' branch of $url to be
    pulled, because that is what the user asked the message to say.
    We already detect this situation locally and include the contents of
    the tag in the output; if the $url has that tag, favor that tag
    (i.e. "for-linus") in the generated message over the branch name the
    user gave us (i.e. "dev") from the command line, to make the output
    look more consistent.
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
git-request-pull.sh 3.56 KB