From: Junio C Hamano Date: Wed, 16 Oct 2013 23:08:19 GMT Subject: Re: [git-users] Problem using detached worktrees with commands implemented in scripts Message-ID: In-Reply-To: <29AA597BEBC146B09E8B370949EC2CE9@PhilipOakley> "Philip Oakley" writes: > ... and the detection process for 'toplevel' may not work > properly when in a separated work-tree environment. Without GIT_WORK_TREE exported to point at the top-level, there is nothing that lets us "detect" it, as the working tree does not have ".git" directory to tell us to stop, no?