On Sun, Sep 23, 2018 at 10:06 AM Eric Sunshine <sunshine@xxxxxxxxxxxxxx> wrote: > > On Sat, Sep 22, 2018 at 2:05 PM Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> 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