aboutsummaryrefslogtreecommitdiffstats
path: root/repository
diff options
context:
space:
mode:
Diffstat (limited to 'repository')
-rw-r--r--repository/gogit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/repository/gogit.go b/repository/gogit.go
index d94965cb..4e3ccfb8 100644
--- a/repository/gogit.go
+++ b/repository/gogit.go
@@ -476,6 +476,7 @@ func (repo *GoGitRepo) ReadData(hash Hash) ([]byte, error) {
return nil, err
}
+ // TODO: return a io.Reader instead
return ioutil.ReadAll(r)
}