t4013: test that "-m" alone has no effect in "git log"

This is to notice current behavior that we are going to change when we start to imply "-p" by "-m". Signed-off-by: Sergey Organov <sorganov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Sergey Organov committed May 21, 2021 at 00:46 UTC 7a55fa0e0bb88e2bf721bc65cc55cd6b435a8373
1 file changed +8
t/t4013-diff-various.sh
+8
@@ -452,6 +452,14 @@ diff-tree --stat --compact-summary initial mode
452 diff-tree -R --stat --compact-summary initial mode
453 EOF
454
455 +test_expect_success 'log -m matches pure log' '
456 + git log master >result &&
457 + process_diffs result >expected &&
458 + git log -m >result &&
459 + process_diffs result >actual &&
460 + test_cmp expected actual
461 +'
462 +
463 test_expect_success 'log --diff-merges=on matches --diff-merges=separate' '
464 git log -p --diff-merges=separate master >result &&
465 process_diffs result >expected &&