info: Fix display of the encryption value. (Some debugging junk had crept in.)

This commit is contained in:
Joey Hess 2020-02-26 15:02:23 -04:00
parent e520341500
commit 9050788b66
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 3 additions and 1 deletions

View file

@ -36,6 +36,8 @@ git-annex (8.20200221) UNRELEASED; urgency=medium
of an IP address to be used, while denying use of other ports.
* Bugfix to getting content from an export remote with -J, when the
export database was not yet populated.
* info: Fix display of the encryption value.
(Some debugging junk had crept in.)
-- Joey Hess <id@joeyh.name> Wed, 19 Feb 2020 12:48:58 -0400

View file

@ -284,7 +284,7 @@ isEncrypted = isJust . extractCipher
describeEncryption :: ParsedRemoteConfig -> String
describeEncryption c = case extractCipher c of
Nothing -> "none" ++ show (getRemoteConfigValue cipherField c :: Maybe String) ++ show (M.keys c)
Nothing -> "none"
Just cip -> nameCipher cip ++ " (" ++ describeCipher cip ++ ")"
nameCipher :: StorableCipher -> String