projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9667ccb
)
diff --stat: status of unmodified pair in diff-q is not zero
author
Junio C Hamano
<gitster@pobox.com>
Tue, 27 Nov 2012 19:17:14 +0000
(11:17 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 27 Nov 2012 21:21:15 +0000
(13:21 -0800)
It is spelled DIFF_STATUS_UNKNOWN these days, and is different from zero.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
patch
|
blob
|
history
diff --git
a/diff.c
b/diff.c
index 95bbad66c68661cf4c543fc1b4e7216d4e3d8806..ce6baa4c6934a1034b6aead6d8386bfafc62648b 100644
(file)
--- 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;