trailer: process trailers from input message and arguments
authorChristian Couder <chriscool@tuxfamily.org>
Mon, 13 Oct 2014 18:16:24 +0000 (20:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Oct 2014 20:55:26 +0000 (13:55 -0700)
Implement the logic to process trailers from the input message
and from arguments.

At the beginning trailers from the input message are in their
own "in_tok" doubly linked list, and trailers from arguments
are in their own "arg_tok" doubly linked list.

The lists are traversed and when an "arg_tok" should be "applied",
it is removed from its list and inserted into the "in_tok" list.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found