Subject: Re: [PATCH/RFC v2] Squashed changes for multiple worktrees vs. submodules

From: Max Kirillov <[email-masked]>
Date: Sun, 7 Dec 2014 11:15:03 +0200

On Sun, Dec 07, 2014 at 08:42:30AM +0200, Max Kirillov wrote:
>> *) I'd love to see a solution for sharing the object database
>>    between otherwise unrelated clones of the same project (so
>>    that fetching in one clone updates the objects in the common
>>    dir and gc cannot throw anything away used by one of the
>>    clones). But I'd expect a bare repository as the common one
>>    where we put the worktrees refs into their own namespaces.

> There is a GIT_NAMESPACE already, maybe it should be just
> extended to work with all commands?

No, this will not work for submodules, has same issues with
the same config.