fixup! Fix showing the "YOU ARE HERE" marker for old-style non-interactive rebases

This commit is contained in:
Stefan Haller 2024-02-28 17:45:58 +01:00
parent d5e0630967
commit ddfec40f2b

View file

@ -68,7 +68,7 @@ func GetCommitListDisplayStrings(
return nil
}
// this is where my non-TODO commits begin
// this is where my "normal" commits begin (the non-rebasing ones)
rebaseOffset := utils.Min(indexOfFirstNonRebasingCommit(commits), endIdx)
filteredCommits := commits[startIdx:endIdx]