I’ve been experimenting with pijul for a few of days, and there is this one thing buzzing me. I have seen this happen several times. When I insert lines in several parts of my code, functions in particular, the patch often records an addition of a closing bracket followed my new code without the closing bracket. I would rather have a cleaner patch that records my new code without this dangling bracket. I’ve been able to “fix” it by recording the code inserted “before” separately from the code inserted “after” in the file to obtain satisfying patches so far. This is quite a minor issue, but has anyone given any thought about this?
pijul record --patience is supposed to solve this.
1 Like
I’ve come across instances where pijul diff, pijul diff --patience and pijul diff --histogram all produce diffs with wrong brackets somewhere in the diff. Can these diffs be manually edited to remove the brackets from the top of the diff and place them at the bottom, or will this result in incorrect results, maybe because the top of the editable diff representation is anchored on a line number or something?