Re: [PATCH v6 05/11] trailer: parse trailers from stdin

2014-03-05 Thread Junio C Hamano
Christian Couder writes: > diff --git a/trailer.c b/trailer.c > index 5d69c00..e0e066f 100644 > --- a/trailer.c > +++ b/trailer.c > @@ -50,6 +50,13 @@ static size_t alnum_len(const char *buf, size_t len) > return len; > } > > +static inline int contains_only_spaces(const char *str) > +{

[PATCH v6 05/11] trailer: parse trailers from stdin

2014-03-04 Thread Christian Couder
Read trailers from stdin, parse them and put the result into a doubly linked list. Signed-off-by: Christian Couder --- trailer.c | 76 +++ 1 file changed, 76 insertions(+) diff --git a/trailer.c b/trailer.c index 5d69c00..e0e066f 10064