fork of go-gitdiff with jj support
1commit 5d9790fec7d95aa223f3d20936340bf55ff3dcbe
2Author: Morton Haypenny <mhaypenny@example.com>
3Date: Tue Apr 2 22:55:40 2019 -0700
4
5 A file with multiple fragments.
6
7 The content is arbitrary.
8
9diff --git a/dir/file1.txt b/dir/file1.txt
10index ebe9fa54..fe103e1d 100644
11--- a/dir/file1.txt
12+++ b/dir/file1.txt
13@@ -3,6 +3,8 @@ fragment 1
14 context line
15-old line 1
16-old line 2
17 context line
18+new line 1
19+new line 2
20+new line 3
21 context line
22-old line 3
23+new line 4
24+new line 5
25@@ -31,2 +33,2 @@ fragment 2
26 context line
27-old line 4
28+new line 6
29diff --git a/dir/file2.txt b/dir/file2.txt
30index 417ebc70..67514b7f 100644
31--- a/dir/file2.txt
32+++ b/dir/file2.txt
33@@ -3,6 +3,8 @@ fragment 1
34 context line
35-old line 1
36-old line 2
37 context line
38+new line 1
39+new line 2
40+new line 3
41 context line
42-old line 3
43+new line 4
44+new line 5
45@@ -31,2 +33,2 @@ fragment 2
46 context line
47-old line 4
48+new line 6