mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
rename sha to hash 6, update short hash
This commit is contained in:
@@ -177,7 +177,7 @@ func SafeTruncate(str string, limit int) string {
|
||||
|
||||
const COMMIT_HASH_SHORT_SIZE = 8
|
||||
|
||||
func ShortSha(hash string) string {
|
||||
func ShortHash(hash string) string {
|
||||
if len(hash) < COMMIT_HASH_SHORT_SIZE {
|
||||
return hash
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user