mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-vcs/git: add missing patch
Fixes: 8421a765ad
Bug: https://bugs.gentoo.org/751907
Closes: https://bugs.gentoo.org/811369
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
22
dev-vcs/git/files/git-2.32.0-r1-test-t5582.patch
Normal file
22
dev-vcs/git/files/git-2.32.0-r1-test-t5582.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
https://www.spinics.net/lists/git/msg417169.html
|
||||
https://bugs.gentoo.org/751907
|
||||
|
||||
The test fails when ${D} is exported in the environment. It actually _shouldn't_
|
||||
be exported in src_test anyway, but Portage isn't yet fixed for this because
|
||||
it'll break misbehaving ebuilds (see e.g. pkgcheck's VariableScope warnings).
|
||||
|
||||
Upstream are currently discussing other patches and work to find other cases
|
||||
of environment contamination.
|
||||
--- a/t/t5582-fetch-negative-refspec.sh
|
||||
+++ b/t/t5582-fetch-negative-refspec.sh
|
||||
@@ -105,7 +105,6 @@ test_expect_success "fetch with negative pattern refspec does not expand prefix"
|
||||
'
|
||||
|
||||
test_expect_success "fetch with negative refspec avoids duplicate conflict" '
|
||||
- cd "$D" &&
|
||||
(
|
||||
cd one &&
|
||||
git branch dups/a &&
|
||||
--
|
||||
2.30.2
|
||||
|
||||
Reference in New Issue
Block a user