trailer: use list.h for doubly-linked list
authorJonathan Tan <redacted>
Thu, 20 Oct 2016 21:39:47 +0000 (14:39 -0700)
committerJunio C Hamano <redacted>
Thu, 20 Oct 2016 22:09:38 +0000 (15:09 -0700)
commit8966a39483fb2e823055b1c7f1a2ff9394d727e4
tree8f159d330e56ab4a591e79238c7225da7b74324b
parentd65fd424ad21adbc1ea11fcddae331698453d1e2
trailer: use list.h for doubly-linked list

Replace the existing handwritten implementation of a doubly-linked list
in trailer.c with the functions and macros from list.h. This
significantly simplifies the code.

Signed-off-by: Jonathan Tan <redacted>
Signed-off-by: Ramsay Jones <redacted>
Signed-off-by: Junio C Hamano <redacted>
trailer.c
git clone https://git.99rst.org/PROJECT