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

Re: [PATCH] merge-tree: fix typo in "both changed identically"

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Apr 27, 2013, 13:23 UTC
Message-ID
<517BD146.1040401@lsrfire.ath.cx>
In-Reply-To
<51cbc79a9b250544a8365980d078601dfcd2b782.1367067799.git.john@keeping.me.uk>
How about squashing in this test?
René
---
 t/t4300-merge-tree.sh | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff --git a/t/t4300-merge-tree.sh b/t/t4300-merge-tree.sh
index bd43b3d..2defb42 100755
--- a/t/t4300-merge-tree.sh
+++ b/t/t4300-merge-tree.sh
@@ -205,6 +205,19 @@ EXPECTED
 	test_cmp expected actual
 '
 
+test_expect_success 'file remove A, B (same)' '
+	cat >expected <<\EXPECTED &&
+EXPECTED
+
+	git reset --hard initial &&
+	test_commit "rm-a-b-base" "ONE" "AAA" &&
+	git rm ONE &&
+	git commit -m "rm-a-b" &&
+	git tag "rm-a-b" &&
+	git merge-tree rm-a-b-base rm-a-b rm-a-b >actual &&
+	test_cmp expected actual
+'
+
 test_expect_success 'file change A, remove B' '
 	cat >expected <<\EXPECTED &&
 removed in remote
-- 
1.8.2.1
Previous: John KeepingNext: John Keeping
Message 2 of 5 in “merge-tree: fix typo in "both changed identically"”
  1. merge-tree: fix typo in "both changed identically"John Keeping, Apr 27, 2013
  2. René ScharfeApr 27, 2013
  3. John KeepingApr 27, 2013
  4. merge-tree: fix typo in "both changed identically"John Keeping, Apr 27, 2013
  5. Junio C HamanoApr 28, 2013

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.