trailer: ignore comment lines inside the trailers
authorChristian Couder <redacted>
Sun, 9 Nov 2014 09:23:39 +0000 (10:23 +0100)
committerJunio C Hamano <redacted>
Mon, 10 Nov 2014 17:43:16 +0000 (09:43 -0800)
commit2887103b35b3b40025ca5060713dfb1e1c8c3b20
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
trailer.c
git clone https://git.99rst.org/PROJECT