Trailers passed to the parse_trailer() function have
a trailing newline. When erroring out, we should display
the invalid trailer properly, that means without any
trailing newline.
Signed-off-by: Christian Couder chrisc...@tuxfamily.org
---
trailer.c | 8 ++--
1 file changed, 6
On Fri, Nov 07, 2014 at 07:50:49PM +0100, Christian Couder wrote:
diff --git a/trailer.c b/trailer.c
index 761b763..f4d51ba 100644
--- a/trailer.c
+++ b/trailer.c
@@ -583,8 +583,12 @@ static int parse_trailer(struct strbuf *tok, struct
strbuf *val, const char *tra
strbuf_addch(seps,
Jeff King p...@peff.net writes:
On Fri, Nov 07, 2014 at 07:50:49PM +0100, Christian Couder wrote:
diff --git a/trailer.c b/trailer.c
index 761b763..f4d51ba 100644
--- a/trailer.c
+++ b/trailer.c
@@ -583,8 +583,12 @@ static int parse_trailer(struct strbuf *tok,
struct strbuf *val, const
3 matches
Mail list logo