summaryrefslogtreecommitdiff
path: root/diff-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'diff-tree.c')
-rw-r--r--diff-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/diff-tree.c b/diff-tree.c
index 2ec0d6fa81..0d21b18ff7 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -270,7 +270,7 @@ static int call_diff_flush(void)
if (pickaxe) {
diffcore_pickaxe(pickaxe);
if (diff_queue_is_empty()) {
- diff_flush(DIFF_FORMAT_NO_OUTPUT);
+ diff_flush(DIFF_FORMAT_NO_OUTPUT, 0);
return 0;
}
}
@@ -291,7 +291,7 @@ static int call_diff_flush(void)
}
header = NULL;
}
- diff_flush(diff_output_format);
+ diff_flush(diff_output_format, 1);
return 1;
}