summaryrefslogtreecommitdiffstats
path: root/pkg/gui/presentation
diff options
context:
space:
mode:
authorpikomonde <32364823+pikomonde@users.noreply.github.com>2024-03-21 00:45:04 +0700
committerStefan Haller <stefan@haller-berlin.de>2024-04-12 08:33:47 +0200
commit92aab21d3af6c84ee9142bb7eb8e8d00d4157831 (patch)
tree0cd2d7eb2c03c5c64f68564eddc7d1f9d9c69879 /pkg/gui/presentation
parente6ef1642fa0111e075fd14493b913cc4f7098db6 (diff)
rename sha to hash 2
Diffstat (limited to 'pkg/gui/presentation')
-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
}