[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:24:10 CEST 2014
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
More information about the Password-Store
mailing list