@matheusbsbs / matheus-bagliano / commits / a2a564686f
Fork 0

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 <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jens Lehmann committed Jan 31, 2011 at 17:51 UTC a2a564686feddb290afa79c7c18e7939b8ac064e
1 file changed +1 -1
t/t5526-fetch-submodules.sh
+1 -1
@@ -124,7 +124,7 @@ test_expect_success "--recurse-submodules overrides fetchRecurseSubmodules setti
124 (
125 cd downstream &&
126 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 &&
128 git config --unset submodule.submodule.fetchRecurseSubmodules
129 ) &&
130 test_cmp expect.out actual.out &&