Code

Don't smash stack when $GIT_ALTERNATE_OBJECT_DIRECTORIES is too long
[git.git] / diff.h
diff --git a/diff.h b/diff.h
index d13fc89768087427379749479d172da31bff95b9..63738c1dd4c71cb1beacaffea40bf51377a137ea 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -57,6 +57,9 @@ struct diff_options {
                 find_copies_harder:1,
                 color_diff:1,
                 color_diff_words:1,
+                has_changes:1,
+                quiet:1,
+                allow_external:1,
                 exit_with_status:1;
        int context;
        int break_opt;
@@ -72,8 +75,6 @@ struct diff_options {
        const char *msg_sep;
        const char *stat_sep;
        long xdl_opts;
-       /* 0 - no differences; only meaningful if exit_with_status set */
-       int has_changes;
 
        int stat_width;
        int stat_name_width;
@@ -173,8 +174,6 @@ extern int diff_setup_done(struct diff_options *);
 
 extern void diffcore_std(struct diff_options *);
 
-extern void diffcore_std_no_resolve(struct diff_options *);
-
 #define COMMON_DIFF_OPTIONS_HELP \
 "\ncommon diff options:\n" \
 "  -z            output diff-raw with lines terminated with NUL.\n" \