]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pretty.h
l10n: tr: v2.31.0-rc1
[thirdparty/git.git] / pretty.h
index 7ce6c0b437b448b7f384ac3680de5c3e8983d8fb..d902cdd70a956c39bf319b9f027a6a73a4c173ef 100644 (file)
--- a/pretty.h
+++ b/pretty.h
@@ -6,6 +6,7 @@
 
 struct commit;
 struct strbuf;
+struct process_trailer_options;
 
 /* Commit formats */
 enum cmit_fmt {
@@ -142,4 +143,15 @@ int commit_format_is_empty(enum cmit_fmt);
 /* Make subject of commit message suitable for filename */
 void format_sanitized_subject(struct strbuf *sb, const char *msg, size_t len);
 
+/*
+ * Set values of fields in "struct process_trailer_options"
+ * according to trailers arguments.
+ */
+int format_set_trailers_options(struct process_trailer_options *opts,
+                       struct string_list *filter_list,
+                       struct strbuf *sepbuf,
+                       struct strbuf *kvsepbuf,
+                       const char **arg,
+                       char **invalid_arg);
+
 #endif /* PRETTY_H */