Merge branch 'sp/remote-curl-ssl-strerror' into maint
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 3efd7ac703061fe30576ac3629ce16eaf0a5c9bb..015d53bdffcd2fa13df7c5056f3c90803dabc9f8 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -259,6 +259,7 @@ static inline unsigned create_ce_flags(unsigned stage)
 #define ce_uptodate(ce) ((ce)->ce_flags & CE_UPTODATE)
 #define ce_skip_worktree(ce) ((ce)->ce_flags & CE_SKIP_WORKTREE)
 #define ce_mark_uptodate(ce) ((ce)->ce_flags |= CE_UPTODATE)
+#define ce_intent_to_add(ce) ((ce)->ce_flags & CE_INTENT_TO_ADD)
 
 #define ce_permissions(mode) (((mode) & 0100) ? 0755 : 0644)
 static inline unsigned int create_ce_mode(unsigned int mode)