aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-remote-gcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-xgit-remote-gcrypt6
1 files changed, 2 insertions, 4 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index 3d8a39b..54db709 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -372,9 +372,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
}
@@ -817,8 +817,6 @@ setup()
trap cleanup_tmpfiles EXIT
trap 'exit 1' 1 2 3 15
-
- echo_info "Development version -- Repository format MAY CHANGE"
}
# handle git-remote-helpers protocol