ce_match_stat, run_diff_files: use symbolic constants for readability
[gitweb.git] / diff.h
diff --git a/diff.h b/diff.h
index 4546aad219742e4ad878937dbd05436c93d298b9..de533da15d36dde05be64e98e8fb5746064dfcf1 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -224,7 +224,9 @@ extern void diff_flush(struct diff_options*);
 
 extern const char *diff_unique_abbrev(const unsigned char *, int);
 
-extern int run_diff_files(struct rev_info *revs, int silent_on_removed);
+/* do not report anything on removed paths */
+#define DIFF_SILENT_ON_REMOVED 01
+extern int run_diff_files(struct rev_info *revs, unsigned int option);
 extern int setup_diff_no_index(struct rev_info *revs,
                int argc, const char ** argv, int nongit, const char *prefix);
 extern int run_diff_files_cmd(struct rev_info *revs, int argc, const char **argv);