fork of go-gitdiff with jj support
at v0.7.1 550 B view raw
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