Re: How to mark a complete sub-directory assume-unchanged/skip-worktree?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Duy Nguyen" <pclouds@xxxxxxxxx>
On Fri, Feb 28, 2014 at 12:25 AM, Philip Oakley <philipoakley@xxxxxxx> 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

Is there a particular bit of code I'd be worth studying for the partial index example to see how well it might fit my ideas?

--
Philip
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]