mirror of
https://github.com/bluekeyes/go-gitdiff
synced 2026-06-08 13:18:30 +00:00
Return preamble content when parsing files
This allows callers to provide patches with commit or email headers and then retrieve that leading content for additional parsing without having to identify where the first file in the patch starts.
This commit is contained in:
Vendored
+1
-1
@@ -2,7 +2,7 @@ commit 5d9790fec7d95aa223f3d20936340bf55ff3dcbe
|
||||
Author: Morton Haypenny <mhaypenny@example.com>
|
||||
Date: Tue Apr 2 22:55:40 2019 -0700
|
||||
|
||||
A single file with multiple fragments.
|
||||
A file with multiple fragments.
|
||||
|
||||
The content is arbitrary.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user