From: Junio C Hamano Date: Tue, 05 May 2020 20:30:04 GMT Subject: Re: [PATCH] rebase --autosquash: fix a potential segfault Message-ID: In-Reply-To: <20200504220916.GF45250@syl.local> Taylor Blau writes: >> > + /* >> > + * i2 refers to a fixup commit in the middle of >> > + * a fixup chain >> > + */ >> > + next[i] = next[i2]; >> > + next[i2] = i; >> > + continue; >> > + } >> >> I do have one question, though. What happens if we add a second >> fixup-of-a-fixup? > > Thanks for asking this question, I was a little curious about it, too. Interesting that three people looked at the same patch and asked the same question in different ways ;-)