Re: [git-users] Problem using detached worktrees with commands implemented in scripts
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 16, 2013, 23:08 UTC
- Message-ID
- <xmqqk3hc3jbw.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <29AA597BEBC146B09E8B370949EC2CE9@PhilipOakley>
"Philip Oakley" <philipoakley@iee.org> 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?