diff: add --compact-summary
[gitweb.git] / diff.h
diff --git a/diff.h b/diff.h
index 0fb18dd735b5462e7b186c609efd048561381be4..28a8fb43466427eecf885f29ecd62d5515e3b4a2 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -93,6 +93,7 @@ struct diff_flags {
        unsigned funccontext:1;
        unsigned pickaxe_ignore_case:1;
        unsigned default_follow_renames:1;
+       unsigned stat_with_summary:1;
 };
 
 static inline void diff_flags_or(struct diff_flags *a,
@@ -166,6 +167,10 @@ struct diff_options {
        const char *stat_sep;
        long xdl_opts;
 
+       /* see Documentation/diff-options.txt */
+       char **anchors;
+       size_t anchors_nr, anchors_alloc;
+
        int stat_width;
        int stat_name_width;
        int stat_graph_width;