Skip to content

Commit 99bfd40

Browse files
committed
diff --stat: status of unmodified pair in diff-q is not zero
It is spelled DIFF_STATUS_UNKNOWN these days, and is different from zero. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9667ccb commit 99bfd40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2411,7 +2411,7 @@ static void builtin_diffstat(const char *name_a, const char *name_b,
24112411
}
24122412

24132413
data = diffstat_add(diffstat, name_a, name_b);
2414-
data->is_interesting = p->status != 0;
2414+
data->is_interesting = p->status != DIFF_STATUS_UNKNOWN;
24152415

24162416
if (!one || !two) {
24172417
data->is_unmerged = 1;

0 commit comments

Comments
 (0)