Merge branch 'lt/request-pull'
* lt/request-pull: request-pull: resurrect for-linus -> tags/for-linus DWIM
This commit is contained in:
commit
7dde48ea7a
@ -119,6 +119,12 @@ then
|
|||||||
status=1
|
status=1
|
||||||
fi
|
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")
|
url=$(git ls-remote --get-url "$url")
|
||||||
|
|
||||||
git show -s --format='The following changes since commit %H:
|
git show -s --format='The following changes since commit %H:
|
||||||
|
@ -223,7 +223,13 @@ test_expect_success 'pull request format' '
|
|||||||
git request-pull initial "$downstream_url" tags/full:refs/tags/full
|
git request-pull initial "$downstream_url" tags/full:refs/tags/full
|
||||||
) >request &&
|
) >request &&
|
||||||
sed -nf fuzz.sed <request >request.fuzzy &&
|
sed -nf fuzz.sed <request >request.fuzzy &&
|
||||||
test_i18ncmp expect request.fuzzy
|
test_i18ncmp expect request.fuzzy &&
|
||||||
|
|
||||||
|
(
|
||||||
|
cd local &&
|
||||||
|
git request-pull initial "$downstream_url" full
|
||||||
|
) >request &&
|
||||||
|
grep ' tags/full$'
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_success 'request-pull ignores OPTIONS_KEEPDASHDASH poison' '
|
test_expect_success 'request-pull ignores OPTIONS_KEEPDASHDASH poison' '
|
||||||
|
Loading…
Reference in New Issue
Block a user