aboutsummaryrefslogtreecommitdiffstats
path: root/testing/git-secret/dont-hide-gpg-output.patch
blob: 234834fe6ff094aedd1d233795c91776f7e00e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Goddamn, don't make troubleshooting impossible!

--- a/src/commands/git_secret_tell.sh
+++ b/src/commands/git_secret_tell.sh
@@ -95,7 +95,7 @@ function tell {
     # Importing public key to the local keychain:
     local secrets_dir_keys
     secrets_dir_keys=$(_get_secrets_dir_keys)
-    $SECRETS_GPG_COMMAND --homedir "$secrets_dir_keys" --no-permission-warning --import "$keyfile" > /dev/null 2>&1
+    $SECRETS_GPG_COMMAND --homedir "$secrets_dir_keys" --no-permission-warning --import "$keyfile"
     exit_code=$?
     if [[ "$exit_code" -ne 0 ]]; then
       _abort "problem importing public key for '$email' with gpg: exit code $exit_code"