Skip to content

Commit

Permalink
Add patch to file struct
Browse files Browse the repository at this point in the history
  • Loading branch information
zricethezav committed Oct 20, 2021
1 parent c3fbc01 commit 1adf7a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitdiff/gitdiff.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ type File struct {
NewOIDPrefix string
Score int

PatchHeader *PatchHeader

// TextFragments contains the fragments describing changes to a text file. It
// may be empty if the file is empty or if only the mode changes.
TextFragments []*TextFragment
Expand Down

0 comments on commit 1adf7a5

Please sign in to comment.