trailer: ignore comment lines inside the trailers
commit2887103b35b3b40025ca5060713dfb1e1c8c3b20
authorChristian Couder <chriscool@tuxfamily.org>
Sun, 9 Nov 2014 09:23:39 +0000 (9 10:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Nov 2014 17:43:16 +0000 (10 09:43 -0800)
tree243aead0a219efb8e8131a10bfd15c9dabd24a7d
parentdfd66ddf5aa9aacc06ed38a9ee2cc15a4f2d4896
trailer: ignore comment lines inside the trailers

Otherwise trailers that are commented out might be
processed. We would also error out if the comment line
char is also a separator.

This means that comments inside a trailer block will
disappear, but that was already the case anyway.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
trailer.c