From: Max Kirillov Date: Sun, 07 Dec 2014 09:15:03 GMT Subject: Re: [PATCH/RFC v2] Squashed changes for multiple worktrees vs. submodules Message-ID: <20141207091503.GC9128@wheezy.local> In-Reply-To: <20141207064230.GA9782@wheezy.local> 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.