Skip to content

Commit 1adf7a5

Browse files
committed
Add patch to file struct
1 parent c3fbc01 commit 1adf7a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitdiff/gitdiff.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ type File struct {
2424
NewOIDPrefix string
2525
Score int
2626

27+
PatchHeader *PatchHeader
28+
2729
// TextFragments contains the fragments describing changes to a text file. It
2830
// may be empty if the file is empty or if only the mode changes.
2931
TextFragments []*TextFragment

0 commit comments

Comments
 (0)