File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,12 @@ then
119119 status=1
120120fi
121121
122+ # Special case: turn "for_linus" to "tags/for_linus" when it is correct
123+ if test " $ref " = " refs/tags/$pretty_remote "
124+ then
125+ pretty_remote=tags/$pretty_remote
126+ fi
127+
122128url=$( git ls-remote --get-url " $url " )
123129
124130git show -s --format=' The following changes since commit %H:
Original file line number Diff line number Diff line change @@ -223,7 +223,13 @@ test_expect_success 'pull request format' '
223223 git request-pull initial "$downstream_url" tags/full:refs/tags/full
224224 ) >request &&
225225 sed -nf fuzz.sed <request >request.fuzzy &&
226- test_i18ncmp expect request.fuzzy
226+ test_i18ncmp expect request.fuzzy &&
227+
228+ (
229+ cd local &&
230+ git request-pull initial "$downstream_url" full
231+ ) >request &&
232+ grep ' tags/full$'
227233'
228234
229235test_expect_success ' request-pull ignores OPTIONS_KEEPDASHDASH poison' '
You can’t perform that action at this time.
0 commit comments