[pass] [PATCH] See: "Bugfix for Mac's diskutil"

John Reddy john.reddy at gmail.com
Mon Jun 16 23:20:56 CEST 2014


I'm glad to see someone beat me to the punch on this fix.  I was just
noticing it today when I brew upgraded from 1.5 to 1.6.2 and started
generating orphan mount points with every "pass git status", "pass git
pull", etc (anything that called the cmd_git() function).

How long before this might be included in a 1.6.3 (or later) release?

-Skip

With my previous commit I missed that `pass git status` also uses
> mounted ramdisks, and needs to be safely removed there as well.
> Therefore I moved the cleanup_tmp function to the beginning of
> src/password-store.sh's helper functions. The caveat is that any locally
> defined tmp_file's need to be passed to the function's arguments. The
> intended use for this function is the command for `trap` definitions
>
> I also added a new test to t0600 to account for `pass git status`
> behavior.
>
> This commit passes all tests. Further testing and comments appreciated.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140616/46f01065/attachment.html>


More information about the Password-Store mailing list