summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--diff-merges.c1
-rwxr-xr-xt/t4013-diff-various.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/diff-merges.c b/diff-merges.c
index 225edd293b..047bf81e67 100644
--- a/diff-merges.c
+++ b/diff-merges.c
@@ -33,6 +33,7 @@ int diff_merges_parse_opts(struct rev_info *revs, const char **argv)
const char *arg = argv[0];
if (!strcmp(arg, "-m")) {
+ suppress(revs);
/*
* To "diff-index", "-m" means "match missing", and to the "log"
* family of commands, it means "show full diff for merges". Set
diff --git a/t/t4013-diff-various.sh b/t/t4013-diff-various.sh
index 64d9fce446..8d8178a8a6 100755
--- a/t/t4013-diff-various.sh
+++ b/t/t4013-diff-various.sh
@@ -329,8 +329,8 @@ log --first-parent --diff-merges=off -p master
log -p --first-parent master
log -m -p --first-parent master
log -m -p master
-:failure log --cc -m -p master
-:failure log -c -m -p master
+log --cc -m -p master
+log -c -m -p master
log -SF master
log -S F master
log -SF -p master