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 <gitster@pobox.com>
Junio C Hamano committed
Nov 27, 2012 at 11:17 UTC
99bfd407000302ff27f2809d9d556c97427a9e3b
1 file changed
+1
-1
diff.c
+1
-1
@@ -2411,7 +2411,7 @@ static void builtin_diffstat(const char *name_a, const char *name_b,
2411
}
2412
2413
data = diffstat_add(diffstat, name_a, name_b);
2414
- data->is_interesting = p->status != 0;
2414
+ data->is_interesting = p->status != DIFF_STATUS_UNKNOWN;
2415
2416
if (!one || !two) {
2417
data->is_unmerged = 1;