Skip to content

Commit 83d1eda

Browse files
author
gbbr
committed
Removed omitempty
1 parent dbbfeca commit 83d1eda

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

diff/diff.pb.go

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

diff/diff.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ message Hunk {
6565
// A Stat is a diff stat that represents the number of lines added/changed/deleted.
6666
message Stat {
6767
// number of lines added
68-
int32 added = 1;
68+
int32 added = 1 [(gogoproto.jsontag) = ""];
6969

7070
// number of lines changed
71-
int32 changed = 2;
71+
int32 changed = 2 [(gogoproto.jsontag) = ""];
7272

7373
// number of lines deleted
74-
int32 deleted = 3;
74+
int32 deleted = 3 [(gogoproto.jsontag) = ""];
7575

7676
// number of bytes contained in body
77-
int32 byte_size = 4;
77+
int32 byte_size = 4 [(gogoproto.jsontag) = ""];
7878
}
7979

0 commit comments

Comments
 (0)