Re: [PATCH v3 03/38] sequencer: use a helper to find the commit message

2017-01-12 Thread Junio C Hamano
Johannes Schindelin writes: > It is actually not safe to look for a commit message by looking for the > first empty line and skipping it. > > The find_commit_subject() function looks more carefully, so let's use > it. Since we are interested in the entire commit message, we re-compute > the strin

[PATCH v3 03/38] sequencer: use a helper to find the commit message

2017-01-02 Thread Johannes Schindelin
It is actually not safe to look for a commit message by looking for the first empty line and skipping it. The find_commit_subject() function looks more carefully, so let's use it. Since we are interested in the entire commit message, we re-compute the string length after verifying that the commit