tree-diff: allow diff_tree_sha1 to accept NULL sha1
[gitweb.git] / diffcore.h
index d911bf0a42eeef68023459d6b03a8d1cafa74683..79de8cf28dc6919f069ae44f7f036a46264452e9 100644 (file)
@@ -46,7 +46,7 @@ struct diff_filespec {
        unsigned is_stdin : 1;
        unsigned has_more_entries : 1; /* only appear in combined diff */
        /* data should be considered "binary"; -1 means "don't know yet" */
-       int is_binary;
+       int is_binary : 2;
        struct userdiff_driver *driver;
 };