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

[PATCH] Fix t1410 for core.filemode==false

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 10, 2007, 12:22 UTC
Message-ID
<Pine.LNX.4.63.0701101322310.22628@wbgn013.biozentrum.uni-wuerzburg.de>

Since c869753e, core.filemode is hardwired to false on Cygwin. So this test had no chance to succeed, since an early commit (changing just the filemode) failed, and therefore all subsequent tests.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
 t/t1410-reflog.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh
index 738d151..8e8d526 100755
--- a/t/t1410-reflog.sh
+++ b/t/t1410-reflog.sh
@@ -71,6 +71,8 @@ test_expect_success setup '
 	check_fsck &&
 
 	chmod +x C &&
+	( test "`git repo-config --bool core.filemode`" != false ||
+	  echo executable >>C ) &&
 	git add C &&
 	test_tick && git commit -m dragon &&
 	L=`git rev-parse --verify HEAD` &&
-- 
1.4.4.4.g774d-dirty
Message 1 of 1 in “Fix t1410 for core.filemode==false”
  1. Fix t1410 for core.filemode==falseJohannes Schindelin, Jan 10, 2007

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.