teach format-patch to place other authors into in-body "From"
[gitweb.git] / commit.h
index 011ddb146f4699a7333f4db3689f4eaac997bb10..c56bc3a0914f9fce3e8b5d0a25d291077429fe03 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -6,6 +6,7 @@
 #include "strbuf.h"
 #include "decorate.h"
 #include "gpg-interface.h"
+#include "string-list.h"
 
 struct commit_list {
        struct commit *item;
@@ -95,11 +96,15 @@ struct pretty_print_context {
        const char *output_encoding;
        struct string_list *mailmap;
        int color;
+       struct ident_split *from_ident;
 
        /*
         * Fields below here are manipulated internally by pp_* functions and
         * should not be counted on by callers.
         */
+
+       /* Manipulated by the pp_* functions internally. */
+       struct string_list in_body_headers;
 };
 
 struct userformat_want {