aports/testing/git-secret/dont-hide-gpg-output.patch
Mateusz Gozdek c356cce426 testing/git-secret: update to 0.2.5
* drop passhprase input patch, since it's included in upstream
* rebase remaining patches

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2019-04-19 02:08:07 +03:00

14 lines
648 B
Diff

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"