Skip to content

Commit

Permalink
t5526: Fix wrong argument order in "git config"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jens Lehmann authored and Junio C Hamano committed Jan 31, 2011
1 parent 1c1f353 commit a2a5646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t5526-fetch-submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ test_expect_success "--recurse-submodules overrides fetchRecurseSubmodules setti
(
cd downstream &&
git fetch --recurse-submodules >../actual.out 2>../actual.err &&
git config -f --unset .gitmodules submodule.submodule.fetchRecurseSubmodules true &&
git config --unset -f .gitmodules submodule.submodule.fetchRecurseSubmodules &&
git config --unset submodule.submodule.fetchRecurseSubmodules
) &&
test_cmp expect.out actual.out &&
Expand Down

0 comments on commit a2a5646

Please sign in to comment.