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

[PATCH 1/2] t0001-init: fix a file name

From
Johannes Sixt <j6t@kdbg.org>
Date
Aug 9, 2009, 15:38 UTC
Message-ID
<4A7EED5C.8050707@kdbg.org>

Without this change, grep fails because it does not find the file instead of because it does not find the text in the file.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
---
  t/t0001-init.sh |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t0001-init.sh b/t/t0001-init.sh
index 49caa29..07e011d 100755
--- a/t/t0001-init.sh
+++ b/t/t0001-init.sh
@@ -251,7 +251,7 @@ test_expect_success 'init creates a new deep directory' '
  		git init --bare --shared=0660 newdir/a/b/c &&
  		test -d newdir/a/b/c/refs &&
  		ls -ld newdir/a newdir/a/b > lsab.out &&
-		! grep -v "^drwxrw[sx]r-x" ls.out &&
+		! grep -v "^drwxrw[sx]r-x" lsab.out &&
  		ls -ld newdir/a/b/c > lsc.out &&
  		! grep -v "^drwxrw[sx]---" lsc.out
  	)
-- 
1.6.4.1186.g1d9a
Next: Johannes Sixt
Message 1 of 3 in “t0001-init: fix a file name”
  1. 1/2 t0001-init: fix a file nameJohannes Sixt, Aug 9, 2009
  2. 2/2 t0001-init: split the existence test from the permission testJohannes Sixt, Aug 9, 2009
  3. 2/2 t0001-init: split the existence test from the permission testJohannes Sixt, Aug 9, 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.