Subject: Re: [PATCH 6/8] sequencer: handle autosquash and post-rewrite for merge commands

From: Junio C Hamano <[email-masked]>
Date: Tue, 23 Jan 2018 12:27:06 -0800

Jacob Keller <[email-masked]> 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.