trailer: add data structures and basic functions
authorChristian Couder <chriscool@tuxfamily.org>
Mon, 13 Oct 2014 18:16:23 +0000 (20:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Oct 2014 20:55:26 +0000 (13:55 -0700)
commit9385b5d7065351104c7bfd3d1e53a28207b8b7ed
treeb116c13bdac82c874bcb0be28215543fec1fe2ce
parentce1d3a93a6405b8a0313491df3099919ed3d150f
trailer: add data structures and basic functions

We will use a doubly linked list to store all information
about trailers and their configuration.

This way we can easily remove or add trailers to or from
trailer lists while traversing the lists in either direction.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
trailer.c [new file with mode: 0644]