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

[PATCH] t2203: fix wrong commit command

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Jan 11, 2012, 03:21 UTC
Message-ID
<1326252098-2891-1-git-send-email-pclouds@gmail.com>

Add commit message to avoid commit's aborting due to the lack of commit message, not because there are INTENT_TO_ADD entries in index.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 t/t2203-add-intent.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t2203-add-intent.sh b/t/t2203-add-intent.sh
index 58a3299..2543529 100755
--- a/t/t2203-add-intent.sh
+++ b/t/t2203-add-intent.sh
@@ -41,7 +41,7 @@ test_expect_success 'cannot commit with i-t-a entry' '
 	echo frotz >nitfol &&
 	git add rezrov &&
 	git add -N nitfol &&
-	test_must_fail git commit
+	test_must_fail git commit -m initial
 '
 
 test_expect_success 'can commit with an unrelated i-t-a entry in index' '
-- 
1.7.3.1.256.g2539c.dirty
Next: Ramkumar Ramachandra
Message 1 of 5 in “t2203: fix wrong commit command”
  1. t2203: fix wrong commit commandNguyễn Thái Ngọc Duy, Jan 11, 2012
  2. Ramkumar RamachandraJan 11, 2012
  3. Nguyen Thai Ngoc DuyJan 11, 2012
  4. Nguyen Thai Ngoc DuyJan 11, 2012
  5. Junio C HamanoJan 11, 2012

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.