diff --no-index: also imitate the exit status of diff(1)
[gitweb.git] / diff.h
diff --git a/diff.h b/diff.h
index b608828261c9a7bb4b60c030109d078841acb114..4043cec04e0ae1da13a6049c9f30c4184f6b1da4 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -75,6 +75,9 @@ struct diff_options {
        int stat_width;
        int stat_name_width;
 
+       /* this is set by diffcore for DIFF_FORMAT_PATCH */
+       int found_changes;
+
        int nr_paths;
        const char **paths;
        int *pathlens;