Skip to content

Commit f1b23f2

Browse files
author
gbbr
committed
Remvoed forgotten ByteSize field
1 parent 23dca9a commit f1b23f2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

diff/diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func (d *FileDiff) Stat() Stat {
2121
func (h *Hunk) Stat() Stat {
2222
lines := bytes.Split(h.Body, []byte{'\n'})
2323
var last byte
24-
st := Stat{ByteSize: int32(len(h.Body))}
24+
st := Stat{}
2525
for _, line := range lines {
2626
if len(line) == 0 {
2727
last = 0

diff/diff.pb.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)