$ pijul init
$ echo example > example.txt
$ pijul add example.txt
$ pijul revert
added file README.md
Shall I revert this change? (1/2) [ynkad?] a
At this point, the repository is in an invalid state and pijul status will panic. To fix this, I would expect Pijul to offer to revert adding a file only if all its changes have first been reverted.
Thanks for reporting! This was fixed in #A5muExATYjU1ezcVaFs6MfC2ytaSE6PKYXKfs6y3KJNaohfZjEgKrPoG72zwPNh56k6BsGF97j9R4EfbxVshiiPm