Re: [PATCH 1/3] mailinfo.c: is_scissors_line ends on newline

2017-05-12 Thread Jeff King
On Thu, May 11, 2017 at 10:03:45PM -0700, Brian Malehorn wrote: > Needed to work with git interpret-trailers. Since "line" is, of course, > a line, it will always end with "\n\0" and therefore we can safely end > on "\n". > [...] > - for (c = line; *c; c++) { > + for (c = line; *c !=

[PATCH 1/3] mailinfo.c: is_scissors_line ends on newline

2017-05-11 Thread Brian Malehorn
Needed to work with git interpret-trailers. Since "line" is, of course, a line, it will always end with "\n\0" and therefore we can safely end on "\n". --- mailinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailinfo.c b/mailinfo.c index a489d9d0f..eadd0597f 100644 ---