Skip to content

Commit 690e810

Browse files
GiteaBotwxiaoguang
andauthored
Try to fix check-attr bug (go-gitea#34029) (go-gitea#34033)
Backport go-gitea#34029 by wxiaoguang Co-authored-by: wxiaoguang <[email protected]>
1 parent 35983ac commit 690e810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/repo_attribute.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ func (wr *nulSeparatedAttributeWriter) Write(p []byte) (n int, err error) {
280280
}
281281
}
282282
wr.tmp = append(wr.tmp, p...)
283-
return len(p), nil
283+
return l, nil
284284
}
285285

286286
func (wr *nulSeparatedAttributeWriter) ReadAttribute() <-chan attributeTriple {

0 commit comments

Comments
 (0)