From: Junio C Hamano Date: Mon, 19 May 2014 17:35:36 +0000 (-0700) Subject: Merge branch 'lt/request-pull' X-Git-Tag: v2.0.0-rc4~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7dde48ea7aa18de1174628e21510967b0ad71d7c?ds=inline;hp=-c Merge branch 'lt/request-pull' * lt/request-pull: request-pull: resurrect for-linus -> tags/for-linus DWIM --- 7dde48ea7aa18de1174628e21510967b0ad71d7c diff --combined git-request-pull.sh index 5c15997523,d6648b2535..d5500fde46 --- a/git-request-pull.sh +++ b/git-request-pull.sh @@@ -9,7 -9,6 +9,7 @@@ LONG_USAGE='Summarizes the changes betw and includes the given URL in the generated summary.' SUBDIRECTORY_OK='Yes' OPTIONS_KEEPDASHDASH= +OPTIONS_STUCKLONG= OPTIONS_SPEC='git request-pull [options] start url [end] -- p show patch text as well @@@ -119,6 -118,12 +119,12 @@@ the status=1 fi + # Special case: turn "for_linus" to "tags/for_linus" when it is correct + if test "$ref" = "refs/tags/$pretty_remote" + then + pretty_remote=tags/$pretty_remote + fi + url=$(git ls-remote --get-url "$url") git show -s --format='The following changes since commit %H: