diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-01-17 22:05:54 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-01-17 22:05:54 -0700 |
commit | eefd875b9cee04232de5f62f6cb74963a0e45912 (patch) | |
tree | 2c4a2ac5ccf97dedff10a0bdaef55f1445a1b7f5 /git-remote-gcrypt | |
parent | 663c91a6438be273059beb3d96fff8bdda14b4a2 (diff) | |
download | git-remote-gcrypt-eefd875b9cee04232de5f62f6cb74963a0e45912.tar.gz |
implement GCRYPT_GPG_ARGS
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-x | git-remote-gcrypt | 4 |
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 } |