unpack-trees(): add CE_WT_REMOVE to remove on worktree alone
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index f266246caf4b46c5740cbfcf951ee1ba00fe9fee..d3f81a1c7dc7dec4aadad2f9595bd66a47283828 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -177,6 +177,9 @@ struct cache_entry {
 #define CE_HASHED    (0x100000)
 #define CE_UNHASHED  (0x200000)
 
+/* Only remove in work directory, not index */
+#define CE_WT_REMOVE (0x400000)
+
 /*
  * Extended on-disk flags
  */