Skip to content

Commit abc7211

Browse files
authored
Merge branch 'master' into fix-13618-do-not-add-current-file-to-dump
2 parents c430991 + e65cfab commit abc7211

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/git/blob_nogogit.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ import (
1111
"io"
1212
"strconv"
1313
"strings"
14-
15-
gitea_log "code.gitea.io/gitea/modules/log"
1614
)
1715

1816
// Blob represents a Git object.
@@ -35,7 +33,6 @@ func (b *Blob) DataAsync() (io.ReadCloser, error) {
3533
err := NewCommand("cat-file", "--batch").RunInDirFullPipeline(b.repoPath, stdoutWriter, stderr, strings.NewReader(b.ID.String()+"\n"))
3634
if err != nil {
3735
err = ConcatenateError(err, stderr.String())
38-
gitea_log.Error("Blob.DataAsync Error: %v", err)
3936
_ = stdoutWriter.CloseWithError(err)
4037
} else {
4138
_ = stdoutWriter.Close()

0 commit comments

Comments
 (0)