From: Duy Nguyen Date: Sat, 15 Aug 2015 08:04:11 GMT Subject: Re: [PATCH v3 3/4] refs: make refs/worktree/* per-worktree Message-ID: In-Reply-To: <1439416645-19173-3-git-send-email-dturner@twopensource.com> On Thu, Aug 13, 2015 at 4:57 AM, David Turner wrote: > We need a place to stick refs for bisects in progress that is not > shared between worktrees. So we use the refs/worktree/ hierarchy. > > The is_per_worktree_ref function and associated docs learn that > refs/worktree/ is per-worktree, as does the git_path code in path.c I assume you want to iterate over all these per-worktree refs later on. Otherwise just moving bisect refs outside refs/ would automatically make them per-worktree. But then it would polute $GIT_DIR some more, so probably not the best move. So yeah, refs/worktree is probably for the best. -- Duy