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

[PATCH 1/2] add failing test for rebase --recreate-merges --keep-empty

From
PWPhillip Wood <phillip.wood@talktalk.net>
Date
Mar 20, 2018, 10:11 UTC
Message-ID
<20180320101114.17663-2-phillip.wood@talktalk.net>
In-Reply-To
<20180320101114.17663-1-phillip.wood@talktalk.net>
From: Phillip Wood <phillip.wood@dunelm.org.uk>

If there are empty commits on the left hand side of $upstream...HEAD then the empty commits on the right hand side that we want to keep are being pruned. This will be fixed in the next commit.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
---
 t/t3421-rebase-topology-linear.sh | 1 +
 1 file changed, 1 insertion(+)
diff --git a/t/t3421-rebase-topology-linear.sh b/t/t3421-rebase-topology-linear.sh
index 68fe2003ef..cb7f176f1d 100755
--- a/t/t3421-rebase-topology-linear.sh
+++ b/t/t3421-rebase-topology-linear.sh
@@ -217,6 +217,7 @@ test_run_rebase success ''
 test_run_rebase failure -m
 test_run_rebase failure -i
 test_run_rebase failure -p
+test_run_rebase failure --recreate-merges
 
 #       m
 #      /
-- 
2.16.2
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 4 of 9 in “rebase --recreate-merges --keep-empty: don't prune empty”
  1. 0/2 rebase --recreate-merges --keep-empty: don't prune emptyPhillip Wood, Mar 20, 2018
  2. 2/2 rebase --recreate-merges --keep-empty: don't prune empty commitsPhillip Wood, Mar 20, 2018
  3. Johannes SchindelinMar 20, 2018
  4. 1/2 add failing test for rebase --recreate-merges --keep-emptyPhillip Wood, Mar 20, 2018
  5. Johannes SchindelinMar 20, 2018
  6. Phillip WoodMar 20, 2018
  7. Junio C HamanoMar 20, 2018
  8. Phillip WoodMar 22, 2018
  9. Junio C HamanoMar 22, 2018

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.