summaryrefslogtreecommitdiff
path: root/trailer.h
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2014-10-13 18:16:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-10-13 20:55:27 (GMT)
commitb1d78d77bfbf026e8222c02f1009767a466de0b1 (patch)
treea559673b0aab2a1d02ec1cd0d53e4dfde305ae30 /trailer.h
parent2013d8505da95d355e610c08473f2e0b45645bf9 (diff)
downloadgit-b1d78d77bfbf026e8222c02f1009767a466de0b1.zip
git-b1d78d77bfbf026e8222c02f1009767a466de0b1.tar.gz
git-b1d78d77bfbf026e8222c02f1009767a466de0b1.tar.bz2
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>
Diffstat (limited to 'trailer.h')
-rw-r--r--trailer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/trailer.h b/trailer.h
new file mode 100644
index 0000000..8eb25d5
--- /dev/null
+++ b/trailer.h
@@ -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 */