unpack-trees(): add CE_WT_REMOVE to remove on worktree alone
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 20 Aug 2009 13:47:06 +0000 (20:47 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2009 00:13:33 +0000 (17:13 -0700)
commite663db2f446b84bfe39b4dcb3d26b33826d52c1a
treefcafac98822879b0acadb8768ab822dc48bb7330
parented5336a7541e19b267de53afc8d15cffdbde8286
unpack-trees(): add CE_WT_REMOVE to remove on worktree alone

CE_REMOVE now removes both worktree and index versions. Sparse
checkout must be able to remove worktree version while keep the
index intact when checkout area is narrowed.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
unpack-trees.c