Skip to content

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

@derat

Description

@derat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions