1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

rename sha to hash 2

This commit is contained in:
pikomonde
2024-03-21 00:45:04 +07:00
committed by Stefan Haller
parent e6ef1642fa
commit 92aab21d3a
5 changed files with 21 additions and 21 deletions

View File

@ -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
}