summaryrefslogtreecommitdiffstats
path: root/pkg/gui/presentation/commits.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/presentation/commits.go')
-rw-r--r--pkg/gui/presentation/commits.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/presentation/commits.go b/pkg/gui/presentation/commits.go
index a46911f4e..8823d508e 100644
--- a/pkg/gui/presentation/commits.go
+++ b/pkg/gui/presentation/commits.go
@@ -172,7 +172,7 @@ func getbisectBounds(commits []*models.Commit, bisectInfo *git_commands.BisectIn
bisectBounds := &bisectBounds{}
for i, commit := range commits {
- if commit.Hash == bisectInfo.GetNewSha() {
+ if commit.Hash == bisectInfo.GetNewHash() {
bisectBounds.newIndex = i
}
@@ -241,7 +241,7 @@ func getBisectStatus(index int, commitHash string, bisectInfo *git_commands.Bise
return BisectStatusNone
}
- if bisectInfo.GetCurrentSha() == commitHash {
+ if bisectInfo.GetCurrentHash() == commitHash {
return BisectStatusCurrent
}