commit | 4e1b06da252a7609f0c6641750e6acbec451e698 | [log] [tgz] |
---|---|---|
author | Johannes Schindelin <johannes.schindelin@gmx.de> | Wed Jun 22 22:20:20 2016 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Jun 22 13:24:17 2016 -0700 |
tree | 4522faea1c57a8dcd9f0d8e4060e686245071a18 | |
parent | 77356122443039b4b65a7795d66b3d1fdeedcce8 [diff] |
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 <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>