projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cae1a9
)
diff.c: don't silently ignore unknown state changes in diffs.
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 25 May 2005 18:09:12 +0000
(11:09 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 25 May 2005 18:09:12 +0000
(11:09 -0700)
Give them an "unknown" status, ie '?'.
diff.c
patch
|
blob
|
history
diff --git
a/diff.c
b/diff.c
index 7935404eaabbf9ec987f042e1778705d737e39e1..3d86b7a317d0699bec3a2f5c0e09fb1df1421083 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-768,7
+768,7
@@
void diff_flush(int diff_output_style, int resolve_rename_copy)
for (i = 0; i < q->nr; i++) {
struct diff_filepair *p = q->queue[i];
if (p->status == 0)
-
continue
;
+
p->status = '?'
;
switch (diff_output_style) {
case DIFF_FORMAT_PATCH:
diff_flush_patch(p);