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

[PATCH 2/2] p0006: fix 'read-tree' argument ordering

From
Victoria Dye via GitGitGadget <gitgitgadget@gmail.com>
Date
Aug 19, 2022, 20:49 UTC
Message-ID
<e79f23a66b28087b8690ff0f604b806babc49cd0.1660942149.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.1330.git.1660942149.gitgitgadget@gmail.com>
From: Victoria Dye <vdye@github.com>

In the 'p0006' test "read-tree br_base br_ballast", move the '-n' flag used in 'git read-tree' ahead of its positional arguments.

Signed-off-by: Victoria Dye <vdye@github.com>
---
 t/perf/p0006-read-tree-checkout.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/perf/p0006-read-tree-checkout.sh b/t/perf/p0006-read-tree-checkout.sh
index 900b385c4bb..c481c012d2f 100755
--- a/t/perf/p0006-read-tree-checkout.sh
+++ b/t/perf/p0006-read-tree-checkout.sh
@@ -46,7 +46,7 @@ test_expect_success "setup repo" '
 '
 
 test_perf "read-tree br_base br_ballast ($nr_files)" '
-	git read-tree -m br_base br_ballast -n
+	git read-tree -n -m br_base br_ballast
 '
 
 test_perf "switch between br_base br_ballast ($nr_files)" '
-- 
gitgitgadget
Previous: Junio C Hamano
Message 4 of 4 in “t/perf: fix broken tests”
  1. 0/2 t/perf: fix broken testsVictoria Dye via GitGitGadget, Aug 19, 2022
  2. 1/2 p0004: fix prereq declarationVictoria Dye via GitGitGadget, Aug 19, 2022
  3. Junio C HamanoAug 19, 2022
  4. 2/2 p0006: fix 'read-tree' argument orderingVictoria Dye via GitGitGadget, Aug 19, 2022

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.