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
119
119
status=1
120
120
fi
121
121
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
+
122
128
url=$( git ls-remote --get-url " $url " )
123
129
124
130
git 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' '
223
223
git request-pull initial "$downstream_url" tags/full:refs/tags/full
224
224
) >request &&
225
225
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$'
227
233
'
228
234
229
235
test_expect_success ' request-pull ignores OPTIONS_KEEPDASHDASH poison' '
You can’t perform that action at this time.
0 commit comments