Re: What's cooking in git.git (Dec 2008, #02; Sun, 14)
From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:45:47
On Mon, 15 Dec 2008, Junio C Hamano wrote:
Daniel Barkalow [off-list ref] writes:quoted
On Sun, 14 Dec 2008, Junio C Hamano wrote:quoted
[On Hold] * nd/narrow (Sun Nov 30 17:54:38 2008 +0700) 17 commits - wt-status: show sparse checkout info - Introduce default sparse patterns (core.defaultsparse) - checkout: add new options to support sparse checkout - clone: support sparse checkout with --sparse-checkout option - unpack_trees(): add support for sparse checkout - unpack_trees(): keep track of unmerged entries - Introduce "sparse patterns" - Merge branch 'master' into nd/narrow + t2104: touch portability fix + grep: skip files outside sparse checkout area + checkout_entry(): CE_NO_CHECKOUT on checked out entries. + Prevent diff machinery from examining worktree outside sparse checkoutI think this patch (slightly reframed) would be good to have independantly of the series; it also means that we won't do weird things if someone changes a file in the worktree which is marked as CE_VALID, and may well may CE_VALID sufficient for the index representation of paths outside the checkout.It is a bit unclear which one you meant by "this patch", sorry.
"Prevent diff machinery from examining worktree outside sparse checkout", which (possibly in the next version) will prevent the diff machinery from examining worktree files for paths that are CE_VALID in the index. -Daniel *This .sig left intentionally blank*