We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c16792 commit 4e6d4bcCopy full SHA for 4e6d4bc
t/t7600-merge.sh
@@ -507,4 +507,30 @@ test_expect_success 'in-index merge' '
507
508
test_debug 'gitk --all'
509
510
+cat >expected <<EOF
511
+Merge branch 'c5' (early part)
512
+EOF
513
+
514
+test_expect_success 'merge early part of c2' '
515
+ git reset --hard c3 &&
516
+ echo c4 > c4.c &&
517
+ git add c4.c &&
518
+ git commit -m c4 &&
519
+ git tag c4 &&
520
+ echo c5 > c5.c &&
521
+ git add c5.c &&
522
+ git commit -m c5 &&
523
+ git tag c5 &&
524
525
+ echo c6 > c6.c &&
526
+ git add c6.c &&
527
+ git commit -m c6 &&
528
+ git tag c6 &&
529
+ git merge c5~1 &&
530
+ git show -s --pretty=format:%s HEAD > actual &&
531
+ test_cmp actual expected
532
+'
533
534
+test_debug 'gitk --all'
535
536
test_done
0 commit comments