From 30d4bc2121496f333db1a918190339d2bcf22f17 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 9 Sep 2018 20:17:12 +0200 Subject: fix english grammar --- repository/repo.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'repository/repo.go') 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 } -- cgit