فهرست منبع

[log] Read size removed from trace

cgars 7 سال پیش
والد
کامیت
3990f8f0ff
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      routes/repo/view.go

+ 0 - 2
routes/repo/view.go

@@ -103,7 +103,6 @@ func renderDirectory(c *context.Context, treeLink string) {
 		go readmeFile.DataPipeline(w, w)
 		if readmeFile.Size() > 0 {
 			n, _ := r.Read(buf)
-			log.Trace("I read %s bytes", n)
 			buf = buf[:n]
 		}
 		isannex := tool.IsAnnexedFile(buf)
@@ -195,7 +194,6 @@ func renderFile(c *context.Context, entry *git.TreeEntry, treeLink, rawLink stri
 	go blob.DataPipeline(w, w)
 	if blob.Size() > 0 {
 		n, _ := r.Read(buf)
-		log.Trace("I read %s bytes", n)
 		buf = buf[:n]
 	}
 	isannex := tool.IsAnnexedFile(buf)