[pass] [PATCH] Mute git-commit messages to make pass insert readable `pass generate' prints 10 lines of output, with only 2 related to the operation at hand: % pass generate xyz 1 2 You need a passphrase to unlock the secret key for 3 user: USER <EMAIL> 4 4096-bit RSA key, ID XYZ, created 1234-56-78 5 6 [master 12345] Added generated password for xyz to store. 7 1 file changed, 0 insertions(+), 0 deletions(-) 8 create mode 100644 xyz.gpg 9 The generated password to xyz is: 10 Some password 123 %

Mikhail Gusarov dottedmag at dottedmag.net
Sat Apr 26 12:25:51 CEST 2014


Please ignore this one, fixed patch is in the next message.


Best regards,
Mikhail Gusarov.


On Sat, Apr 26, 2014 at 12:24 PM, Mikhail Gusarov
<dottedmag at dottedmag.net>wrote:

> This patch takes care of 3 of 8 noise lines.
> ---
>  src/password-store.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/password-store.sh b/src/password-store.sh
> index d7f5eb0..dc2e659 100755
> --- a/src/password-store.sh
> +++ b/src/password-store.sh
> @@ -32,7 +32,7 @@ git_commit() {
>         local sign=""
>         [[ -d $GIT_DIR ]] || return
>         [[ $(git config --bool --get pass.signcommits) == "true" ]] &&
> sign="-S"
> -       git commit $sign -m "$1"
> +       git commit -q $sign -m "$1"
>  }
>  yesno() {
>         [[ -t 0 ]] || return 0
> --
> 1.9.2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140426/79fe59a2/attachment.html>


More information about the Password-Store mailing list