Re: [PATCH v2 04/16] trailer: process command line trailer arguments

2014-01-26 Thread Christian Couder
Junio C Hamano gits...@pobox.com writes: +static struct trailer_item *create_trailer_item(const char *string) +{ + struct strbuf tok = STRBUF_INIT; + struct strbuf val = STRBUF_INIT; + struct trailer_item *new; + + parse_trailer(tok, val, string); + + int tok_alnum_len =

Re: [PATCH v2 04/16] trailer: process command line trailer arguments

2014-01-21 Thread Junio C Hamano
Christian Couder chrisc...@tuxfamily.org writes: This patch parses the trailer command line arguments and put the result into an arg_tok doubly linked list. Signed-off-by: Christian Couder chrisc...@tuxfamily.org --- trailer.c | 77

Re: [PATCH v2 04/16] trailer: process command line trailer arguments

2014-01-21 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: +static struct trailer_item *create_trailer_item(const char *string) +{ +struct strbuf tok = STRBUF_INIT; +struct strbuf val = STRBUF_INIT; +struct trailer_item *new; + +parse_trailer(tok, val, string); + +int tok_alnum_len =

[PATCH v2 04/16] trailer: process command line trailer arguments

2014-01-19 Thread Christian Couder
This patch parses the trailer command line arguments and put the result into an arg_tok doubly linked list. Signed-off-by: Christian Couder chrisc...@tuxfamily.org --- trailer.c | 77 +++ 1 file changed, 77 insertions(+) diff --git