From: Junio C Hamano Date: Tue, 23 Jan 2018 20:27:06 GMT Subject: Re: [PATCH 6/8] sequencer: handle autosquash and post-rewrite for merge commands Message-ID: In-Reply-To: Jacob Keller writes: >> static int is_per_worktree_ref(const char *refname) >> { >> return !strcmp(refname, "HEAD") || >> - starts_with(refname, "refs/bisect/"); >> + starts_with(refname, "refs/bisect/") || >> + starts_with(refname, "refs/rewritten/"); >> } > > Would this part make more sense to move into the commit that > introduces writing these refs, or does it only matter once you start > this step here? Good spotting. I too was wondering about multiple worktrees when I saw the "label" thing introduced. It probably makes sense to move this to that step.