Merge branch 'jc/maint-fix-mailinfo-strip' into maint

* jc/maint-fix-mailinfo-strip:
  mailinfo: do not strip leading spaces even for a header line
maint
Junio C Hamano 2010-03-08 00:35:59 -08:00
commit 6ae611fa8d
2 changed files with 2 additions and 3 deletions

View File

@ -779,8 +779,7 @@ static int handle_commit_msg(struct strbuf *line)
return 0; return 0;


if (still_looking) { if (still_looking) {
strbuf_ltrim(line); if (!line->len || (line->len == 1 && line->buf[0] == '\n'))
if (!line->len)
return 0; return 0;
} }



View File

@ -1,2 +1,2 @@
- a list - a list
- of stuff - of stuff