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

[PATCH] t3411: Fix ambiguous filename/tagname in setup

From
Arjen Laarhoven <arjen@yaph.org>
Date
Feb 4, 2009, 19:42 UTC
Message-ID
<1233776556-9047-1-git-send-email-arjen@yaph.org>

After commit 37e5c8f (Simplify t3411) the test setup fails on case-insensitive filesystems because 'git reset' can't disambiguate the filenames and tagnames. An explicit '--' to 'git reset' fixes this.

Signed-off-by: Arjen Laarhoven <arjen@yaph.org>
---
 t/t3411-rebase-preserve-around-merges.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t3411-rebase-preserve-around-merges.sh b/t/t3411-rebase-preserve-around-merges.sh
index 6533505..e544451 100755
--- a/t/t3411-rebase-preserve-around-merges.sh
+++ b/t/t3411-rebase-preserve-around-merges.sh
@@ -24,7 +24,7 @@ test_expect_success 'setup' '
 	test_commit A1 &&
 	test_commit B1 &&
 	test_commit C1 &&
-	git reset --hard B1 &&
+	git reset --hard B1 -- &&
 	test_commit D1 &&
 	test_merge E1 C1 &&
 	test_commit F1
-- 
1.6.1.2.467.g081e7
Next: Johannes Schindelin
Message 1 of 3 in “t3411: Fix ambiguous filename/tagname in setup”
  1. t3411: Fix ambiguous filename/tagname in setupArjen Laarhoven, Feb 4, 2009
  2. Johannes SchindelinFeb 4, 2009
  3. Arjen LaarhovenFeb 5, 2009

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.