aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-remote-gcrypt
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-01-17 22:05:54 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-01-17 22:05:54 -0700
commiteefd875b9cee04232de5f62f6cb74963a0e45912 (patch)
tree2c4a2ac5ccf97dedff10a0bdaef55f1445a1b7f5 /git-remote-gcrypt
parent663c91a6438be273059beb3d96fff8bdda14b4a2 (diff)
downloadgit-remote-gcrypt-eefd875b9cee04232de5f62f6cb74963a0e45912.tar.gz
implement GCRYPT_GPG_ARGS
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-xgit-remote-gcrypt4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index 6c93a3c..94a3d13 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -371,9 +371,9 @@ rungpg()
# due to trying to print messages to it, even if a gpg agent is set
# up. --no-tty fixes this.
if [ "x$GPG_AGENT_INFO" != "x" ]; then
- gpg --no-tty "$@"
+ gpg --no-tty "${GCRYPT_GPG_ARGS:-}" "$@"
else
- gpg "$@"
+ gpg "${GCRYPT_GPG_ARGS:-}" "$@"
fi
}