git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v4 1/5] t5526: Fix wrong argument order in "git config"

From
Jared Hance <jaredhance@gmail.com>
Date
Feb 10, 2011, 23:40 UTC
Message-ID
<1297381209-6377-3-git-send-email-jaredhance@gmail.com>
In-Reply-To
<1297381209-6377-1-git-send-email-jaredhance@gmail.com>
From: Jens Lehmann <Jens.Lehmann@web.de>

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>
Signed-off-by: Jared Hance <jaredhance@gmail.com>
---
 t/t5526-fetch-submodules.sh |    2 +-
 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 &&
-- 
1.7.4
Previous: Jared HanceNext: Jared Hance
Message 3 of 12 in “Updated patch series for default upstream merge”
  1. 0/4 Updated patch series for default upstream mergeJared Hance, Feb 10, 2011
  2. 1/4 merge: update the usage information to be more modernJared Hance, Feb 10, 2011
  3. 1/5 t5526: Fix wrong argument order in "git config"Jared Hance, Feb 10, 2011
  4. 2/4 merge: introduce setup_merge_commit helper functionJared Hance, Feb 10, 2011
  5. 2/5 merge: update the usage information to be more modernJared Hance, Feb 10, 2011
  6. 3/4 merge: introduce per-branch-configuration helper functionJared Hance, Feb 10, 2011
  7. 3/5 merge: introduce setup_merge_commit helper functionJared Hance, Feb 10, 2011
  8. 4/4 merge: add support for merging from upstream by defaultJared Hance, Feb 10, 2011
  9. Bert WesargFeb 11, 2011
  10. 4/5 merge: introduce per-branch-configuration helper functionJared Hance, Feb 10, 2011
  11. 5/5 merge: add support for merging from upstream by defaultJared Hance, Feb 10, 2011
  12. Jared HanceFeb 10, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.