`pass git` exit code

Rob robpilling at gmail.com
Thu Jun 18 23:48:04 CEST 2020


Hello,

I found while using `pass` that git commands have their exit code dropped, so
if I ran something like, `pass git fetch && pass git merge @{u} && exit`, if
the fetch failed, the subsequent commands would still run. This patch exits
with git's error code if we see a git sub-command fail.

Many thanks,
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Exit-with-git-s-error-code-for-pass-git.patch
Type: text/x-patch
Size: 840 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20200618/875e3db1/attachment.bin>


More information about the Password-Store mailing list