`pass git` exit code

Kjetil Torgrim Homme kjetil.homme at redpill-linpro.com
Thu Jun 25 11:34:17 CEST 2020

On 6/24/20 10:23 PM, robpilling at gmail.com wrote:
> That's a fair point - my main reason for doing it this way was that I
> imagined exiting with the same code as the git command would be more
> useful, so users can treat `pass git [...]` as a transparent wrapper,
> particularly for commands that specify specific exit codes. Happy to
> change it if people would prefer the consistent use of die() / exit code
> of 1.

I would prefer to keep the information from git exit codes intact as
well, but this should be documented in the manual page.  I see there is
no EXIT CODES section today, so there isn't really any documented
behaviour to break.

Kjetil T. Homme
Redpill Linpro AS - Changing the game

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20200625/ac40db17/attachment.asc>

More information about the Password-Store mailing list