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

[PATCH 2/2] git-svn: t9114: verify merge commit message in test

From
EWEric Wong <normalperson@yhbt.net>
Date
Nov 5, 2007, 11:21 UTC
Message-ID
<1194261708-32256-2-git-send-email-normalperson@yhbt.net>
In-Reply-To
<1194261708-32256-1-git-send-email-normalperson@yhbt.net>

It's possible that we end up with an incorrect commit message in this test after making changes to fix the clobber bug in dcommit.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 t/t9114-git-svn-dcommit-merge.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/t/t9114-git-svn-dcommit-merge.sh b/t/t9114-git-svn-dcommit-merge.sh
index d6ca955..225060b 100755
--- a/t/t9114-git-svn-dcommit-merge.sh
+++ b/t/t9114-git-svn-dcommit-merge.sh
@@ -86,4 +86,9 @@ test_expect_success 'verify post-merge ancestry' "
 	git cat-file commit refs/heads/svn^ | grep '^friend$'
 	"
 
+test_expect_success 'verify merge commit message' "
+	git rev-list --pretty=raw -1 refs/heads/svn | \
+	  grep \"    Merge branch 'merge' into svn\"
+	"
+
 test_done
-- 
1.5.3.5.566.gc207
Previous: Eric WongNext: Peter Baumann
Message 2 of 4 in “git-svn: fix dcommit clobbering when committing a series of diffs”
  1. 1/2 git-svn: fix dcommit clobbering when committing a series of diffsEric Wong, Nov 5, 2007
  2. 2/2 git-svn: t9114: verify merge commit message in testEric Wong, Nov 5, 2007
  3. Peter BaumannNov 5, 2007
  4. Eric WongNov 5, 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.