mailinfo: do not strip leading spaces even for a header line
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e9e921981d
commit
470b452628
@ -779,8 +779,7 @@ static int handle_commit_msg(struct strbuf *line)
|
||||
return 0;
|
||||
|
||||
if (still_looking) {
|
||||
strbuf_ltrim(line);
|
||||
if (!line->len)
|
||||
if (!line->len || (line->len == 1 && line->buf[0] == '\n'))
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
- a list
|
||||
- a list
|
||||
- of stuff
|
||||
|
Loading…
x
Reference in New Issue
Block a user