From: Junio C Hamano Date: Tue, 03 Jan 2012 22:17:11 GMT Subject: Re: [PATCH] Submodules always use a relative path to gitdir Message-ID: <7vhb0csa6w.fsf@alter.siamese.dyndns.org> In-Reply-To: <4F037CBF.9010005@web.de> Jens Lehmann writes: > Not if we would implement a "if no worktree is set but we came here via > a gitfile, then take the directory the gitfile was found in as worktree" > heuristic. And that heuristic looks quite sane to me, as a gitfile can > only be found in a work tree, or am I missing something obvious here? Like it wouldn't work without changes to the core side?