summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-02 00:42:41 +0100
committerSam James <sam@gentoo.org>2021-09-02 00:43:06 +0100
commitdc0e0cc69eb0aac984574a9be3ecf19eaca09806 (patch)
treee264d93bb9a30e8c558a55df5389d70c5b16daaa /dev-vcs/git
parentwww-servers/thin: remove old distfile entry (diff)
downloadgentoo-dc0e0cc69eb0aac984574a9be3ecf19eaca09806.tar.gz
gentoo-dc0e0cc69eb0aac984574a9be3ecf19eaca09806.tar.bz2
gentoo-dc0e0cc69eb0aac984574a9be3ecf19eaca09806.zip
dev-vcs/git: add missing patch
Fixes: 8421a765ad29bcf111da8f05bb74ff3df64d25c5 Bug: https://bugs.gentoo.org/751907 Closes: https://bugs.gentoo.org/811369 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-vcs/git')
-rw-r--r--dev-vcs/git/files/git-2.32.0-r1-test-t5582.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-vcs/git/files/git-2.32.0-r1-test-t5582.patch b/dev-vcs/git/files/git-2.32.0-r1-test-t5582.patch
new file mode 100644
index 000000000000..fc6072bf7334
--- /dev/null
+++ b/dev-vcs/git/files/git-2.32.0-r1-test-t5582.patch
@@ -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
+