From: Duy Nguyen Date: Sun, 23 Sep 2018 13:10:21 GMT Subject: Re: [PATCH 3/8] refs: new ref types to make per-worktree refs visible to all worktrees Message-ID: In-Reply-To: On Sun, Sep 23, 2018 at 10:06 AM Eric Sunshine wrote: > > On Sat, Sep 22, 2018 at 2:05 PM Nguyễn Thái Ngọc Duy wrote: > > [...] > > The main worktree has to be treated specially because well.. it's > > special from the beginning. So HEAD from the main worktree is > > acccessible via the name "main/HEAD" (we can't use > > "worktrees/main/HEAD" because "main" under "worktrees" is not > > reserved). > > Bikeshedding: I wonder if this would be more intuitive if called > simply "/HEAD" rather than "main/HEAD". A ref name cannot start with '/'. I'm open to a different name than "main" though, it just felt a better name than "main-worktree". -- Duy