summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-21 23:28:05 -0700
committerJunio C Hamano <gitster@pobox.com>2010-08-21 23:28:05 -0700
commitc3b9325fa699dfa2562ac3748d14f082646979c2 (patch)
treec197983f06ce6e56980845e707361463dbfd3278 /cache.h
parent2d984464c6be7ced6772a8dcf95d6a461a659a78 (diff)
parent74da98f9c761b2e63366a643fa52749844ddc6a1 (diff)
downloadgit-c3b9325fa699dfa2562ac3748d14f082646979c2.tar.gz
Merge branch 'nd/fix-sparse-checkout'
* nd/fix-sparse-checkout: unpack-trees: mark new entries skip-worktree appropriately unpack-trees: do not check for conflict entries too early unpack-trees: let read-tree -u remove index entries outside sparse area unpack-trees: only clear CE_UPDATE|CE_REMOVE when skip-worktree is always set t1011 (sparse checkout): style nitpicks
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index 94dde5312f..61a563150f 100644
--- a/cache.h
+++ b/cache.h
@@ -179,8 +179,7 @@ struct cache_entry {
#define CE_UNHASHED (0x200000)
#define CE_CONFLICTED (0x800000)
-/* Only remove in work directory, not index */
-#define CE_WT_REMOVE (0x400000)
+#define CE_WT_REMOVE (0x400000) /* remove in work directory */
#define CE_UNPACKED (0x1000000)