2 Commits

Author SHA1 Message Date
Billy Keyes 14da3d30f7 Parse binary headers with file paths (#55)
Some patches may include one or more file paths as part of the binary
header when there is no binary data. Git accounts for this by only
checking the prefix and suffix of the line, but I missed that logic when
implementing this originally.
2025-01-07 19:27:03 -08:00
Billy Keyes 1c950ee854 Split source files by patch type (text/binary)
The tests were already split up in this way, so it makes sense to have
the parsing functions split as well.
2019-04-17 21:36:46 -07:00