diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-25 11:09:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-25 11:09:12 -0700 |
commit | 6f93a631acd2017c5f7c5bc29294b753588b0bea (patch) | |
tree | f9c61e26dc718084b1274c00f00cc48495a0a484 /diff.c | |
parent | 4cae1a967a99962e51777fcc950321902cce0adf (diff) | |
download | git-6f93a631acd2017c5f7c5bc29294b753588b0bea.tar.gz git-6f93a631acd2017c5f7c5bc29294b753588b0bea.tar.xz |
diff.c: don't silently ignore unknown state changes in diffs.
Give them an "unknown" status, ie '?'.
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |