From: Junio C Hamano Date: Tue, 27 Nov 2012 19:17:14 +0000 (-0800) Subject: diff --stat: status of unmodified pair in diff-q is not zero X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=99bfd407000302ff27f2809d9d556c97427a9e3b;p=git.git 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 --- diff --git a/diff.c b/diff.c index 95bbad66c..ce6baa4c6 100644 --- a/diff.c +++ b/diff.c @@ -2411,7 +2411,7 @@ static void builtin_diffstat(const char *name_a, const char *name_b, } data = diffstat_add(diffstat, name_a, name_b); - data->is_interesting = p->status != 0; + data->is_interesting = p->status != DIFF_STATUS_UNKNOWN; if (!one || !two) { data->is_unmerged = 1;