]> git.ipfire.org Git - thirdparty/git.git/commitdiff
rebase --rebase-merges: add test for --keep-empty
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 25 Apr 2018 12:29:14 +0000 (14:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2018 03:28:43 +0000 (12:28 +0900)
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.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3421-rebase-topology-linear.sh

index b078f930462d7187546376c9fe2331b3e0303773..e7438ad06acedee06ced9995a47e454a2eef3e2e 100755 (executable)
@@ -217,6 +217,7 @@ test_run_rebase success ''
 test_run_rebase success -m
 test_run_rebase success -i
 test_run_rebase failure -p
+test_run_rebase success --rebase-merges
 
 #       m
 #      /