mirror of
https://github.com/bluekeyes/go-gitdiff
synced 2026-06-08 13:18:30 +00:00
Remove second commit header from test file
While it's cool that this works, in a multi-file patch each file immediately follow the final fragment of the previous file.
This commit is contained in:
Vendored
-9
@@ -26,15 +26,6 @@ index ebe9fa54..fe103e1d 100644
|
||||
context line
|
||||
-old line 4
|
||||
+new line 6
|
||||
|
||||
commit a84b8652757d3114875388ad6d6de782f179d82a
|
||||
Author: Morton Haypenny <mhaypenny@example.com>
|
||||
Date: Wed Apr 3 20:45:10 2019 -0700
|
||||
|
||||
Another file with multiple fragments.
|
||||
|
||||
The content is arbitrary.
|
||||
|
||||
diff --git a/dir/file2.txt b/dir/file2.txt
|
||||
index 417ebc70..67514b7f 100644
|
||||
--- a/dir/file2.txt
|
||||
|
||||
Reference in New Issue
Block a user