summaryrefslogtreecommitdiffstats
path: root/modules/git/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/utils.go')
-rw-r--r--modules/git/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/utils.go b/modules/git/utils.go
index 53c124ac8a..d6bf9f4413 100644
--- a/modules/git/utils.go
+++ b/modules/git/utils.go
@@ -163,7 +163,7 @@ func (l *LimitedReaderCloser) Read(p []byte) (n int, err error) {
}
n, err = l.R.Read(p)
l.N -= int64(n)
- return
+ return n, err
}
// Close implements io.Closer