Re: [long] worktree setup cases
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 21, 2010, 16:01 UTC
- Message-ID
- <20101021160134.GA3732@burratino>
- In-Reply-To
- <AANLkTikwApJ2EtJNiOZPHVrz6seJNP-zEqzH_b62ksLf@mail.gmail.com>
Nguyen Thai Ngoc Duy wrote:
> On Thu, Oct 21, 2010 at 10:30 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 6 quoted lines
>> 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