summaryrefslogtreecommitdiff
path: root/t/t5526-fetch-submodules.sh
diff options
context:
space:
mode:
authorJens Lehmann <Jens.Lehmann@web.de>2011-01-31 16:51:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-01-31 17:59:04 (GMT)
commita2a564686feddb290afa79c7c18e7939b8ac064e (patch)
tree5205d999e50ffeba8688c4558051ae9c9a2faa67 /t/t5526-fetch-submodules.sh
parent1c1f3537c0283c92abbca9155813ed62b05cb481 (diff)
downloadgit-a2a564686feddb290afa79c7c18e7939b8ac064e.zip
git-a2a564686feddb290afa79c7c18e7939b8ac064e.tar.gz
git-a2a564686feddb290afa79c7c18e7939b8ac064e.tar.bz2
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>
Diffstat (limited to 't/t5526-fetch-submodules.sh')
-rwxr-xr-xt/t5526-fetch-submodules.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5526-fetch-submodules.sh b/t/t5526-fetch-submodules.sh
index 884a5e5..a5f4585 100755
--- a/t/t5526-fetch-submodules.sh
+++ b/t/t5526-fetch-submodules.sh
@@ -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 &&