From: Junio C Hamano Date: Wed, 08 Feb 2017 23:25:59 GMT Subject: Re: [PATCH 2/2] worktree.c: use submodule interface to access refs from another worktree Message-ID: In-Reply-To: <20170208113144.8201-3-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > As such, we can just linked worktree's path as a submodule. We just need Lack of verb made me read this three times. "We can just treat linked worktree's path as if it were a submodule"? I agree with you that the "submodule" in the name is misleading. We would want to be able to walk refs from other local repositories (and repository-like entities, like the .git/ thing in a liked worktree), like our own submodule, or the repository we borrow objects from via the alternate mechanism.