Teach Git to respect skip-worktree bit (writing part)
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 20 Aug 2009 13:46:59 +0000 (20:46 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2009 00:13:32 +0000 (17:13 -0700)
commit52030836943c0d28d8be4202762ede28e921dc21
tree08f16650e16cd347d2f8e15c0796556859750c38
parentb4d1690df11ae6ce382b93778616b1a20f1774ff
Teach Git to respect skip-worktree bit (writing part)

This part is mainly to remove CE_VALID shortcuts (and as a
consequence, ce_uptodate() shortcuts as it may be turned on by
CE_VALID) in writing code path if skip-worktree is used. Various tests
are added to avoid future breakages.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7012-skip-worktree-writing.sh [new file with mode: 0755]
unpack-trees.c