Skip to content

Commit a2a5646

Browse files
jlehmanngitster
authored andcommitted
t5526: Fix wrong argument order in "git config"
This fixes a typo where the "git config" arguments "-f" and "--unset" were swapped leading to the creation of a "--unset" file. Signed-off-by: Jens Lehmann <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1c1f353 commit a2a5646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5526-fetch-submodules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ test_expect_success "--recurse-submodules overrides fetchRecurseSubmodules setti
124124
(
125125
cd downstream &&
126126
git fetch --recurse-submodules >../actual.out 2>../actual.err &&
127-
git config -f --unset .gitmodules submodule.submodule.fetchRecurseSubmodules true &&
127+
git config --unset -f .gitmodules submodule.submodule.fetchRecurseSubmodules &&
128128
git config --unset submodule.submodule.fetchRecurseSubmodules
129129
) &&
130130
test_cmp expect.out actual.out &&

0 commit comments

Comments
 (0)