> > The current situation is definitely a problem. If I am in a worktree, > > using "head" should be the same as "HEAD". By any chance, is your file system case insensitive? That is usually the source of confusion for these discussions. Maybe in worktree code we have a spillover between path resolution and ref namespace?