Skip to content

Commit 7a55fa0

Browse files
sorganovgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 364bc11 commit 7a55fa0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

t/t4013-diff-various.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,14 @@ diff-tree --stat --compact-summary initial mode
452452
diff-tree -R --stat --compact-summary initial mode
453453
EOF
454454

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+
455463
test_expect_success 'log --diff-merges=on matches --diff-merges=separate' '
456464
git log -p --diff-merges=separate master >result &&
457465
process_diffs result >expected &&

0 commit comments

Comments
 (0)