From: Johannes Schindelin Date: Wed, 22 Jun 2016 20:20:20 +0000 (+0200) Subject: commit.c: make find_commit_subject() more robust X-Git-Tag: v2.9.3~60^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4e1b06da252a7609f0c6641750e6acbec451e698?hp=4e1b06da252a7609f0c6641750e6acbec451e698 commit.c: make find_commit_subject() more robust 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 Signed-off-by: Junio C Hamano ---