mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-10-23 17:48:30 +03:00
Cleanup: use nil for empty slice
This commit is contained in:
@@ -214,7 +214,7 @@ func (self *CommitLoader) extractCommitFromLine(hashPool *utils.StringPool, line
|
||||
}
|
||||
message := split[7]
|
||||
|
||||
tags := []string{}
|
||||
var tags []string
|
||||
|
||||
if extraInfo != "" {
|
||||
extraInfoFields := strings.Split(extraInfo, ",")
|
||||
|
||||
Reference in New Issue
Block a user