detect close failure on just-written file handles
[gitweb.git] / diff.h
diff --git a/diff.h b/diff.h
index d13fc89768087427379749479d172da31bff95b9..9fd6d447d4c62e158c941a736e547c7e516cdd93 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -55,8 +55,12 @@ struct diff_options {
                 full_index:1,
                 silent_on_remove:1,
                 find_copies_harder:1,
+                follow_renames: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 +76,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;
@@ -154,8 +156,6 @@ extern void diff_unmerge(struct diff_options *,
                         unsigned mode,
                         const unsigned char *sha1);
 
-extern int diff_scoreopt_parse(const char *opt);
-
 #define DIFF_SETUP_REVERSE             1
 #define DIFF_SETUP_USE_CACHE           2
 #define DIFF_SETUP_USE_SIZE_CACHE      4
@@ -173,8 +173,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" \