1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/testing/git-secret/dont-hide-gpg-output.patch

26 lines
814 B
Diff

Goddamn, don't make troubleshooting impossible!
--- a/src/_utils/_git_secret_tools.sh
+++ b/src/_utils/_git_secret_tools.sh
@@ -279,8 +279,8 @@
if [[ ! -z "$passphrase" ]]; then
echo "$passphrase" | $base --batch --yes --no-tty --passphrase-fd 0 \
--passphrase-fd 0 --pinentry-mode loopback \
- "$encrypted_filename" > /dev/null 2>&1
+ --quiet "$encrypted_filename"
else
- $base "$encrypted_filename" > /dev/null 2>&1
+ $base "$encrypted_filename"
fi
}
--- a/src/commands/git_secret_tell.sh
+++ b/src/commands/git_secret_tell.sh
@@ -64,7 +64,7 @@
fi
# Importing public key to the local keychain:
- $GPGLOCAL --import "$keyfile" > /dev/null 2>&1
+ $GPGLOCAL --import "$keyfile"
done
echo "done. ${emails[*]} added as someone who know(s) the secret."