trailer: put all the processing together and print

This patch adds the process_trailers() function that
calls all the previously added processing functions
and then prints the results on the standard output.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Christian Couder
2014-10-13 20:16:28 +02:00
committed by Junio C Hamano
parent 2013d8505d
commit b1d78d77bf
2 changed files with 75 additions and 0 deletions

6
trailer.h Normal file
View File

@@ -0,0 +1,6 @@
#ifndef TRAILER_H
#define TRAILER_H
void process_trailers(const char *file, int trim_empty, struct string_list *trailers);
#endif /* TRAILER_H */