mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
rename sha to hash 5
This commit is contained in:
parent
dc6863b83d
commit
9cf1ca10a2
14 changed files with 62 additions and 62 deletions
|
@ -299,7 +299,7 @@ func (self *RefreshHelper) determineCheckedOutBranchName() string {
|
|||
// In all other cases, get the branch name by asking git what branch is
|
||||
// checked out. Note that if we're on a detached head (for reasons other
|
||||
// than rebasing or bisecting, i.e. it was explicitly checked out), then
|
||||
// this will return its sha.
|
||||
// this will return its hash.
|
||||
if branchName, err := self.c.Git().Branch.CurrentBranchName(); err == nil {
|
||||
return branchName
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue