The sound distributed version control system

#459 [DIFF, LINUX2X] fork-apply.sh failed

Closed on July 3, 2021
tankf33der on June 29, 2021

Never seen this before.

tankf33der on June 29, 2021

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
+ 
$ 
pmeunier added a change on July 3, 2021
4DNDMC7IUZNYLDEQQYYF5K3G2QWWXGQENTEWPNTM6XKQEFPW7L3QC
main
pmeunier on July 3, 2021

Thanks again for the tests! This is now fixed. I should start setting up a real CI, not the “half-joke” kind I had.

pmeunier closed this discussion on July 3, 2021
tankf33der on July 3, 2021

Fixed, confirmed.