summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a196d8d)
raw | patch | inline | side by side (parent: a196d8d)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 23 Jun 2005 18:00:23 +0000 (11:00 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 23 Jun 2005 18:00:23 +0000 (11:00 -0700) |
This way we don't get it in the commit message, even if the patch had
been generated by cogito (or CVS, ugh) and people didn't add the proper
"---" marker.
been generated by cogito (or CVS, ugh) and people didn't add the proper
"---" marker.
mailinfo.c | patch | blob | history |
diff --git a/mailinfo.c b/mailinfo.c
index 6c4d5898238704954a0b67b99079193f588795b6..ae279bffa5743aa0d58701f98eff17e25325fe0b 100644 (file)
--- a/mailinfo.c
+++ b/mailinfo.c
do {
if (!memcmp("diff -", line, 6) ||
- !memcmp("---", line, 3))
+ !memcmp("---", line, 3) ||
+ !memcmp("Index: ", line, 7))
out = patchfile;
fputs(line, out);