Merge branch 'jt/trailer-with-cruft'
commitcabb79d8c1c5e4f81f3435603f17c74480888395
authorJunio C Hamano <gitster@pobox.com>
Mon, 31 Oct 2016 20:15:22 +0000 (31 13:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Oct 2016 20:15:22 +0000 (31 13:15 -0700)
treef0479b31521a15d897f26be85bdd6ffc7ab0c46a
parentdbaa6bdce22914843e956e36d41d328547514342
parent60ef86a16268bfb1efb28bcb3f1b646bfad1931c
Merge branch 'jt/trailer-with-cruft'

Update "interpret-trailers" machinery and teaches it that people in
real world write all sorts of crufts in the "trailer" that was
originally designed to have the neat-o "Mail-Header: like thing"
and nothing else.

* jt/trailer-with-cruft:
  trailer: support values folded to multiple lines
  trailer: forbid leading whitespace in trailers
  trailer: allow non-trailers in trailer block
  trailer: clarify failure modes in parse_trailer
  trailer: make args have their own struct
  trailer: streamline trailer item create and add
  trailer: use list.h for doubly-linked list
  trailer: improve const correctness
trailer.c