X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diffcore.h;h=fcd00bf27aee4e1f2823f05ab3dba1d3c70a509d;hb=a347b17f15dd5358ced8d447af144a46b224982d;hp=5b634585e8970de81067b9807d8813c083b86b0a;hpb=799fdb4ed0f9443122fdb85f6f73c58cb1de12ec;p=git.git diff --git a/diffcore.h b/diffcore.h index 5b634585e..fcd00bf27 100644 --- a/diffcore.h +++ b/diffcore.h @@ -42,6 +42,9 @@ struct diff_filespec { #define DIFF_FILE_VALID(spec) (((spec)->mode) != 0) unsigned should_free : 1; /* data should be free()'ed */ unsigned should_munmap : 1; /* data should be munmap()'ed */ + unsigned dirty_submodule : 2; /* For submodules: its work tree is dirty */ +#define DIRTY_SUBMODULE_UNTRACKED 1 +#define DIRTY_SUBMODULE_MODIFIED 2 struct userdiff_driver *driver; /* data should be considered "binary"; -1 means "don't know yet" */