commit.c: make find_commit_subject() more robust
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 22 Jun 2016 20:20:20 +0000 (22:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jun 2016 20:24:17 +0000 (13:24 -0700)
Just like the pretty printing machinery, we should simply ignore
blank lines at the beginning of the commit messages.

This discrepancy was noticed when an early version of the
rebase--helper produced commit objects with more than one empty line
between the header and the commit message.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found