X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=cache.h;h=de8c2b6266ee96d0958cb2c1430b2b2da99f1e86;hb=85e72830697a23dd6b1af8b6bfb3c1a7be60dfae;hp=ab9f97efc6be1e40a59e03463aa921d339420f6c;hpb=837a156197e7921c256e6189d838963d2999fcb6;p=git.git diff --git a/cache.h b/cache.h index ab9f97efc..de8c2b626 100644 --- a/cache.h +++ b/cache.h @@ -379,6 +379,7 @@ extern int remove_file_from_index(struct index_state *, const char *path); #define ADD_CACHE_VERBOSE 1 #define ADD_CACHE_PRETEND 2 #define ADD_CACHE_IGNORE_ERRORS 4 +#define ADD_CACHE_IGNORE_REMOVAL 8 extern int add_to_index(struct index_state *, const char *path, struct stat *, int flags); extern int add_file_to_index(struct index_state *, const char *path, int flags); extern struct cache_entry *make_cache_entry(unsigned int mode, const unsigned char *sha1, const char *path, int stage, int refresh);