Re: How to mark a complete sub-directory assume-unchanged/skip-worktree?
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Feb 27, 2014, 23:26 UTC
- Message-ID
- <CACsJy8DV2uCQbfCP=Mf2qajVAtpTZvKKeCS2H4_o6LA3B96QAA@mail.gmail.com>
- In-Reply-To
- <3A9AA61FDE124808AA25DE3511CF99F1@PhilipOakley>
On Fri, Feb 28, 2014 at 12:25 AM, Philip Oakley <philipoakley@iee.org> wrote:
> Have there been previous attempts to look at marking sub-dirs as > --skip-worktree, or some other sentinel value for the missing tree?
I dealt with this by creating partial index, that only contains entries for interested subtrees. The index also stores the base tree SHA-1, so write-tree can still create (full) new trees correctly from partial index.
-- Duy