summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-04-17 14:30:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-04-17 14:30:22 -0400
commit7aa668f4b488cc29fe0722f8f01071540ed56434 (patch)
tree60c76ec4eec2b6c02c7ed23b7fdf6beca9241dba
parentd9690a9b5d6e706abe41fd76800ce9c526ad0b4e (diff)
Don't run gpg in batch mode, so it can prompt for passphrase when there is no agent.
-rw-r--r--Crypto.hs2
-rw-r--r--debian/changelog7
2 files changed, 8 insertions, 1 deletions
diff --git a/Crypto.hs b/Crypto.hs
index bbe8a6f4c..6b5d1218a 100644
--- a/Crypto.hs
+++ b/Crypto.hs
@@ -167,7 +167,7 @@ pass to c i a = to c i $ \h -> a =<< L.hGetContents h
gpgParams :: [CommandParam] -> [String]
gpgParams params =
-- avoid prompting, and be quiet, even about checking the trustdb
- ["--batch", "--quiet", "--trust-model", "always"] ++
+ ["--quiet", "--trust-model", "always"] ++
toCommand params
gpgRead :: [CommandParam] -> IO String
diff --git a/debian/changelog b/debian/changelog
index 750f467d5..c837da876 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+git-annex (0.20110418) UNRELEASED; urgency=low
+
+ * Don't run gpg in batch mode, so it can prompt for passphrase when
+ there is no agent.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 17 Apr 2011 14:29:49 -0400
+
git-annex (0.20110417) unstable; urgency=low
* bup is now supported as a special type of remote.