Add "--dirstat" for some directory statistics
[git/git.git] / diff.h
diff --git a/diff.h b/diff.h
index 073d5cb..8c6bb54 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -30,6 +30,8 @@ typedef void (*diff_format_fn_t)(struct diff_queue_struct *q,
 #define DIFF_FORMAT_SUMMARY    0x0008
 #define DIFF_FORMAT_PATCH      0x0010
 #define DIFF_FORMAT_SHORTSTAT  0x0020
 #define DIFF_FORMAT_SUMMARY    0x0008
 #define DIFF_FORMAT_PATCH      0x0010
 #define DIFF_FORMAT_SHORTSTAT  0x0020
+#define DIFF_FORMAT_DIRSTAT    0x0040
+#define DIFF_FORMAT_CUMULATIVE 0x0080
 
 /* These override all above */
 #define DIFF_FORMAT_NAME       0x0100
 
 /* These override all above */
 #define DIFF_FORMAT_NAME       0x0100
@@ -80,6 +82,7 @@ struct diff_options {
        int pickaxe_opts;
        int rename_score;
        int rename_limit;
        int pickaxe_opts;
        int rename_score;
        int rename_limit;
+       int dirstat_percent;
        int setup;
        int abbrev;
        const char *msg_sep;
        int setup;
        int abbrev;
        const char *msg_sep;