Can not reproduce in vim as $EDITOR.
I ran into the same issue today on Windows with VS Code. I was able to resolve it by saving the change file with LF
line endings instead of the auto-detected CRLF
ones.
Generally, I’ve also noticed that pijul does not handle CRLF
line endings very nicely. For example, when line endings are CRLF, pijul always reports a diff, but nothing gets recorded.
You could try out my change from https://nest.pijul.com/pijul/pijul/discussions/708 and let me know if it helps with your Windows editor.