password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit f30ce6374d554e704162d5fa8e49acd9c6fd0ecc
parent 56381287a16792b4c6410f07db68e02f3574c213
Author: Mikhail Gusarov <dottedmag@dottedmag.net>
Date:   Sat, 26 Apr 2014 12:25:13 +0200

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
%

This patch takes care of 3 of 8 noise lines.

Diffstat:
Msrc/password-store.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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