`brew --prefix <formula>` is a relatively slow operation (order of half a
second or more) and this is not considered a bug (see `Homebrew/brew`
issues 3097 and 3327).

The macOS plaform-specific script evaluates `brew --prefix gnu-getopt` each
time `pass` is invoked, which adds a noticeable delay, especially if `pass`
is called a lot of times (eg in a script that iterates over a large number
of entries in a pass store).

This change allows `GETOPT` to be set externally and `pass` will use the
value provided without evaluating the slow `brew` command.

Attachment: 0001-Allow-GETOPT-to-be-set-externally-to-improve-perform.patch
Description: Binary data

_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to