aboutsummaryrefslogtreecommitdiffstats
path: root/repository/repo.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-09 20:17:12 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-09 20:17:12 +0200
commit30d4bc2121496f333db1a918190339d2bcf22f17 (patch)
treebbffb4216e7dc0e701e621d4df0369825a69ee7a /repository/repo.go
parent13797c3b77b9e44860b47d381c9451d8ab70b14d (diff)
downloadgit-bug-30d4bc2121496f333db1a918190339d2bcf22f17.tar.gz
fix english grammar
Diffstat (limited to 'repository/repo.go')
-rw-r--r--repository/repo.go6
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
}