Re: [PATCH] trailer: ignore first line of message

2015-08-21 Thread Matthieu Moy
Christian Couder christian.cou...@gmail.com writes: When looking for the start of the trailers in the message we are passed, we should ignore the first line of the message. Thanks, this fixes my issue. There's one more corner-case I've just thought of: git commit -m 'place of code: change we

[PATCH] trailer: ignore first line of message

2015-08-20 Thread Christian Couder
When looking for the start of the trailers in the message we are passed, we should ignore the first line of the message. The reason is that if we are passed a patch or commit message then the first line should be the patch title. If we are passed only trailers we can expect that they start with