Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

edit updates file after editor exits with non-zero exit code #58

Open
derat opened this issue Jan 20, 2025 · 0 comments
Open

edit updates file after editor exits with non-zero exit code #58

derat opened this issue Jan 20, 2025 · 0 comments

Comments

@derat
Copy link

derat commented Jan 20, 2025

If you run passage edit, modify and write the file in your editor, but then change your mind about keeping the change, there doesn't seem to be any way to prevent passage from updating the record. Using vim, I would expect to be able to abort the edit by exiting with :cq.

It looks like a patch was sent in 2023 to correct this in pass, but it was never applied: https://lists.zx2c4.com/pipermail/password-store/2023-March/004745.html

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant