Select the types of activity you want to include in your feed.
Add simple full file parsing test
For now, this uses JSON to print objects on error, which is hard to debug. It should probably use something like google/go-cmp instead, because these objects are now too large for direct comparison.
···11+commit 5d9790fec7d95aa223f3d20936340bf55ff3dcbe
22+Author: Morton Haypenny <mhaypenny@example.com>
33+Date: Tue Apr 2 22:55:40 2019 -0700
44+55+ A single file with multiple fragments.
66+77+ The content is arbitrary.
88+99+diff --git a/dir/file.txt b/dir/file.txt
1010+index ebe9fa54..fe103e1d 100644
1111+--- a/dir/file.txt
1212++++ b/dir/file.txt
1313+@@ -3,6 +3,8 @@ fragment 1
1414+ context line
1515+-old line 1
1616+-old line 2
1717+ context line
1818++new line 1
1919++new line 2
2020++new line 3
2121+ context line
2222+-old line 3
2323++new line 4
2424++new line 5
2525+@@ -31,2 +33,2 @@ fragment 2
2626+ context line
2727+-old line 4
2828++new line 6