diff
inserts additional newline and assertion failed.
$ pijul init p1
$ cd p1
$ touch a
$ vim a
$ cat a
1
2
3
4
5
$ pijul add a
$ pijul rec -am"."
Hash: T7EQDAEE7JS2YU2CCLZLKZUKAW5SWT74RR7OURMWBS2K6X2PODFQC
$ vim a
$ cat a
1
2
Z
4
5
$ pijul diff
message = ''
timestamp = '2021-06-29T14:34:19.420367432Z'
authors = []
# Dependencies
[2] T7EQDAEE7JS2YU2CCLZLKZUKAW5SWT74RR7OURMWBS2K6X2PODFQC
# Hunks
1. Replacement in a:3 2.1 "UTF-8"
B:BD 2.6 -> 2.6:8/2
up 2.6, new 0:2, down 2.8
- 3
-
+ Z
+
$
Thanks again for the tests! This is now fixed. I should start setting up a real CI, not the “half-joke” kind I had.
Fixed, confirmed.
Never seen this before.