diff options
Diffstat (limited to 'repository/repo.go')
-rw-r--r-- | repository/repo.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/repository/repo.go b/repository/repo.go index faea9f16..355c4cf9 100644 --- a/repository/repo.go +++ b/repository/repo.go @@ -91,10 +91,10 @@ func prepareTreeEntries(entries []TreeEntry) bytes.Buffer { } func readTreeEntries(s string) ([]TreeEntry, error) { - splitted := strings.Split(s, "\n") + split := strings.Split(s, "\n") - casted := make([]TreeEntry, len(splitted)) - for i, line := range splitted { + casted := make([]TreeEntry, len(split)) + for i, line := range split { if line == "" { continue } |