projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad87de7
)
diff-helper: pass unrecognized lines through unmodified
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 18 May 2005 18:33:46 +0000
(11:33 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 18 May 2005 18:33:46 +0000
(11:33 -0700)
(and flush any pending renames)
diff-helper.c
patch
|
blob
|
history
diff --git
a/diff-helper.c
b/diff-helper.c
index 3ef57060d62054365895ff592ef4c3bd9d54fe17..2877ddc4df85179c03cdcc8c7a66831951ec5d97 100644
(file)
--- a/
diff-helper.c
+++ b/
diff-helper.c
@@
-268,11
+268,12
@@
int main(int ac, const char **av) {
if (sb.eof)
break;
status = parse_diff_raw_output(sb.buf, av+1, ac-1, reverse);
- if (status)
- fprintf(stderr, "cannot parse %s\n", sb.buf);
+ if (status) {
+ flush_renames(av+1, ac-1, reverse);
+ printf("%s%c", sb.buf, line_termination);
+ }
}
- if (detect_rename)
- flush_renames(av+1, ac-1, reverse);
+ flush_renames(av+1, ac-1, reverse);
return 0;
}