diff options
author | pikomonde <32364823+pikomonde@users.noreply.github.com> | 2024-03-21 00:45:04 +0700 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-04-12 08:33:47 +0200 |
commit | 92aab21d3af6c84ee9142bb7eb8e8d00d4157831 (patch) | |
tree | 0cd2d7eb2c03c5c64f68564eddc7d1f9d9c69879 /pkg/gui/presentation | |
parent | e6ef1642fa0111e075fd14493b913cc4f7098db6 (diff) |
rename sha to hash 2
Diffstat (limited to 'pkg/gui/presentation')
-rw-r--r-- | pkg/gui/presentation/commits.go | 4 |
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 } |