1
0
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:
Stefan Haller
2025-07-27 18:38:53 +02:00
parent 26f2c0203b
commit 15f8ad31e0
2 changed files with 10 additions and 10 deletions

View File

@@ -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, ",")