summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/commands/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go
index 25cde40a1..d02d75b4f 100644
--- a/pkg/commands/git.go
+++ b/pkg/commands/git.go
@@ -80,7 +80,7 @@ func includes(array []string, str string) bool {
func (c *GitCommand) GetStatusFiles() []File {
statusOutput, _ := c.GitStatus()
statusStrings := utils.SplitLines(statusOutput)
- files := make([]File, 0)
+ files := []File{}
for _, statusString := range statusStrings {
change := statusString[0:2]