diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-09 20:17:12 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-09 20:17:12 +0200 |
commit | 30d4bc2121496f333db1a918190339d2bcf22f17 (patch) | |
tree | bbffb4216e7dc0e701e621d4df0369825a69ee7a /repository/repo.go | |
parent | 13797c3b77b9e44860b47d381c9451d8ab70b14d (diff) | |
download | git-bug-30d4bc2121496f333db1a918190339d2bcf22f17.tar.gz |
fix english grammar
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 } |