diff options
author | Michael Muré <batolettre@gmail.com> | 2019-01-17 03:09:08 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-01 22:35:37 +0100 |
commit | bdbe9e7e8256fff820efe1ce707e7154d517ecb3 (patch) | |
tree | 82b86c7f89c6c9796b1c7b26beea350afa634d6f /repository/repo.go | |
parent | 3df4f46c71650c9d23b267c44afec16f1b759e92 (diff) | |
download | git-bug-bdbe9e7e8256fff820efe1ce707e7154d517ecb3.tar.gz |
identity: more progress and fixes
Diffstat (limited to 'repository/repo.go')
-rw-r--r-- | repository/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/repo.go b/repository/repo.go index 3ae09057..100feaed 100644 --- a/repository/repo.go +++ b/repository/repo.go @@ -122,7 +122,7 @@ func prepareTreeEntries(entries []TreeEntry) bytes.Buffer { } func readTreeEntries(s string) ([]TreeEntry, error) { - split := strings.Split(s, "\n") + split := strings.Split(strings.TrimSpace(s), "\n") casted := make([]TreeEntry, len(split)) for i, line := range split { |