Middly infuriating brackets in patches

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