diff options
| author | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-04 18:30:45 +0000 |
|---|---|---|
| committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-04 18:30:45 +0000 |
| commit | 3ee84d976f959034ecf3b0347f74486084e493bb (patch) | |
| tree | ab777cf7c3cf928e5983dc0094d73814aec224ae /dev-vcs/git/files/git-2.21.0-quiet-submodules-testcase.patch | |
| parent | 26f53ff11013ab4ccb8816d812148f7850458899 (diff) | |
| parent | 64a3a0e16b87d21e6b98b169e3a237581ac90816 (diff) | |
| download | gentoo-3ee84d976f959034ecf3b0347f74486084e493bb.tar.gz gentoo-3ee84d976f959034ecf3b0347f74486084e493bb.tar.bz2 gentoo-3ee84d976f959034ecf3b0347f74486084e493bb.zip | |
Merge updates from master
Diffstat (limited to 'dev-vcs/git/files/git-2.21.0-quiet-submodules-testcase.patch')
| -rw-r--r-- | dev-vcs/git/files/git-2.21.0-quiet-submodules-testcase.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/dev-vcs/git/files/git-2.21.0-quiet-submodules-testcase.patch b/dev-vcs/git/files/git-2.21.0-quiet-submodules-testcase.patch deleted file mode 100644 index 0874ea9352e9..000000000000 --- a/dev-vcs/git/files/git-2.21.0-quiet-submodules-testcase.patch +++ /dev/null @@ -1,38 +0,0 @@ -From a57994f2d78134936521375ba9798a1b7418e230 Mon Sep 17 00:00:00 2001 -From: "Robin H. Johnson" <robbat2@gentoo.org> -Date: Fri, 12 Apr 2019 00:00:07 -0700 -Subject: [PATCH] submodule foreach: test foreach option swallowing - -Add a testcase for submodule foreach option parsing not knowing where to -stop taking options, and accidently removing options intended for -foreach target commands. - -CC: Duy Nguyen <pclouds@gmail.com> -CC: Prathamesh Chavan <pc44800@gmail.com> -Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> ---- - t/t7407-submodule-foreach.sh | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/t/t7407-submodule-foreach.sh b/t/t7407-submodule-foreach.sh -index 77729ac4aa..706ae762e0 100755 ---- a/t/t7407-submodule-foreach.sh -+++ b/t/t7407-submodule-foreach.sh -@@ -411,4 +411,14 @@ test_expect_success 'multi-argument command passed to foreach is not shell-evalu - test_cmp expected actual - ' - -+test_expect_success 'option-like arguments passed to foreach commands are not lost' ' -+ ( -+ cd super && -+ git submodule foreach "echo be --quiet" > ../expected && -+ git submodule foreach echo be --quiet > ../actual -+ ) && -+ grep -sq -e "--quiet" expected && -+ test_cmp expected actual -+' -+ - test_done --- -2.21.0 - |
