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

[PATCH v1] Fix t3400 on a case insensitive file system

From
Torsten Bögershausen <tboegi@web.de>
Date
Jan 1, 2016, 15:08 UTC
Message-ID
<56869689.7030604@web.de>

On a case insenstive file system x is the same as X. When a file named "X" exist, e.g. ">x && git add x" does not work as expected, use file name "Y" instead.

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
---
 t/t3400-rebase.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t3400-rebase.sh b/t/t3400-rebase.sh
index 5ed4012..2eebd22 100755
--- a/t/t3400-rebase.sh
+++ b/t/t3400-rebase.sh
@@ -259,11 +259,11 @@ test_expect_success 'rebase duplicated commit with
--keep-empty' '
 	git reset --hard &&
 	git checkout master &&
 -	>x && git add x && git commit x -mx &&
-	echo x >x && git commit x -mx1 &&
+	>Y && git add Y && git commit Y -mY &&
+	echo Y >Y && git commit Y -mY1 &&
  	git checkout -b duplicated HEAD~ &&
-	echo x >x && git commit x -mx2 &&
+	echo Y >Y && git commit Y -mY2 &&
 	git rebase --keep-empty master
 '
 -- 2.6.2.403.g6abe3ff.dirty
Next: Junio C Hamano
Message 1 of 2 in “Fix t3400 on a case insensitive file system”
  1. Fix t3400 on a case insensitive file systemTorsten Bögershausen, Jan 1, 2016
  2. Junio C HamanoJan 2, 2016

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.