From: Jonathan Nieder Date: Thu, 21 Oct 2010 16:01:34 GMT Subject: Re: [long] worktree setup cases Message-ID: <20101021160134.GA3732@burratino> In-Reply-To: Nguyen Thai Ngoc Duy wrote: > On Thu, Oct 21, 2010 at 10:30 AM, Jonathan Nieder wrote: >> Speaking of which, it is not clear to me that core.worktree should >> fall under the forbidden case discussed above.  If it does, what is >> the point of making it configurable? > > I was not the one who introduced core.worktree, so I can't really > tell. Maybe less keystrokes? Yeah, it seems you're totally right. :( So in clarifying the semantics, core.worktree without GIT_DIR should be forbidden. But consider this a feature request. By the time core.worktree has been read, it is obvious what the GIT_DIR was supposed to be: References: - v0 (GIT_TOP_DIR): http://thread.gmane.org/gmane.comp.version-control.git/38382 - v1 (GIT_WORK_DIR): http://thread.gmane.org/gmane.comp.version-control.git/41902 - v2 (GIT_WORK_TREE): http://thread.gmane.org/gmane.comp.version-control.git/42416