]> git.ipfire.org Git - thirdparty/git.git/blobdiff - trailer.h
interpret-trailers: add --parse convenience option
[thirdparty/git.git] / trailer.h
index 65cc5d79c6cecfce5cf3302dd7dcb6323f9f85dc..194f85a102383d2d7a90ed1228034b8d99cf513f 100644 (file)
--- a/trailer.h
+++ b/trailer.h
@@ -22,7 +22,18 @@ struct trailer_info {
        size_t trailer_nr;
 };
 
-void process_trailers(const char *file, int in_place, int trim_empty,
+struct process_trailer_options {
+       int in_place;
+       int trim_empty;
+       int only_trailers;
+       int only_input;
+       int unfold;
+};
+
+#define PROCESS_TRAILER_OPTIONS_INIT {0}
+
+void process_trailers(const char *file,
+                     const struct process_trailer_options *opts,
                      struct string_list *trailers);
 
 void trailer_info_get(struct trailer_info *info, const char *str);