*GCRYPT_FULL_REPACK*
This environment variable forces full repack when pushing.
+*GCRYPT_GPG_ARGS*
+ The contents of this environment variable are passed as arguments
+ to gpg. E.g. ``export GCRYPT_GPG_ARGS="--use-agent"``.
+
Examples
========
* Switch to Debian-native package: taking over as upstream.
* Remove notice about repository format potentially changing.
+ * Implement GCRYPT_GPG_ARGS environment variable (Closes: #771011).
-- Sean Whitton <spwhitton@spwhitton.name> Sun, 17 Jan 2016 19:12:42 -0700
# 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
}