Fix overbroad gpg --no-tty fix from last release.

Only set --no-tty when GPG_AGENT_INFO is set and batch mode is used.

In the test suite, set GPG_AGENT_INFO to /dev/null to avoid the test suite
relying on /dev/tty.
This commit is contained in:
Joey Hess 2012-01-07 12:38:08 -04:00
parent bdc49ddbdb
commit 60c1aeeb6f
3 changed files with 6 additions and 4 deletions

1
debian/changelog vendored
View file

@ -3,6 +3,7 @@ git-annex (3.20120106) UNRELEASED; urgency=low
* Support unescaped repository urls, like git does.
* log: New command that displays the location log for files,
showing each repository they were added to and removed from.
* Fix overbroad gpg --no-tty fix from last release.
-- Joey Hess <joeyh@debian.org> Thu, 05 Jan 2012 14:29:30 -0400