mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
rename sha to hash 5
This commit is contained in:
@ -32,9 +32,9 @@ type Pipe struct {
|
||||
|
||||
var highlightStyle = style.FgLightWhite.SetBold()
|
||||
|
||||
func ContainsCommitHash(pipes []*Pipe, sha string) bool {
|
||||
func ContainsCommitHash(pipes []*Pipe, hash string) bool {
|
||||
for _, pipe := range pipes {
|
||||
if equalHashes(pipe.fromHash, sha) {
|
||||
if equalHashes(pipe.fromHash, hash) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user