ARGH! that last command should have been 'pass git revert HEAD', sorry for the
noise and confusion.

On Tue, Jan 15, 2019 at 03:26:52PM -0500, Joshua N Pritikin wrote:
To create a new password entry for "foo," I typed "pass edit foo" in one
terminal window. Then I forgot and entered the same thing in another
terminal window. I closed them in the wrong order and wiped out my
changes.

At the beginning of "pass edit foo", would it be possible to snapshot
the previous version of the file? Then if the file didn't match it's
snapshot, the user could be warned.

Maybe there is a race condition here, but better to have a safety check
that usually works than no safety check.

--
Joshua N. Pritikin, Ph.D.
Virginia Institute for Psychiatric and Behavioral Genetics
Virginia Commonwealth University
PO Box 980126
800 E Leigh St, Biotech One, Suite 1-133
Richmond, VA 23219
http://exuberant-island.surge.sh
_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store
_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to