Merge branch 'np/delta' into next
[gitweb.git] / revision.h
index 872bcd81725d08d20ece460a5898e0c9ea2ca3a1..48d7b4ca94f3fd00f7a1f6a3fb57ebed934ffc0d 100644 (file)
@@ -11,6 +11,7 @@
 #define ADDED          (1u<<7) /* Parents already parsed and added? */
 
 struct rev_info;
+struct log_info;
 
 typedef void (prune_fn_t)(struct rev_info *revs, struct commit *commit);
 
@@ -52,12 +53,11 @@ struct rev_info {
                        always_show_header:1;
 
        /* Format info */
-       unsigned int    abbrev_commit:1;
+       unsigned int    shown_one:1,
+                       abbrev_commit:1;
        unsigned int    abbrev;
        enum cmit_fmt   commit_format;
-       const char      *header_prefix;
-       const char      *header;
-       const char      *use_precomputed_header;
+       struct log_info *loginfo;
 
        /* special limits */
        int max_count;