entry: support CE_WT_REMOVE flag in checkout_entry
commit536ec1839dbde8b9a6b38e6ccb5ab01b2b6311f9
authorThomas Gummerer <t.gummerer@gmail.com>
Thu, 20 Dec 2018 13:48:15 +0000 (20 13:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2019 23:28:05 +0000 (2 15:28 -0800)
tree2a89182bfc236ec4c27f2b9121df93b2ce115b0d
parentb702dd12d52816e192578c6206db5e6c332ba49b
entry: support CE_WT_REMOVE flag in checkout_entry

'checkout_entry()' currently only supports creating new entries in the
working tree, but not deleting them.  Add the ability to remove
entries at the same time if the entry is marked with the CE_WT_REMOVE
flag.

Currently this doesn't have any effect, as the CE_WT_REMOVE flag is
only used in unpack-tree, however we will make use of this in a
subsequent step in the series.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
entry.c