Fix annex.adviceNoSshCaching having no effect

git will always return option names in lowercase
This commit is contained in:
Reiko Asakura 2022-09-30 10:56:17 -04:00 committed by Joey Hess
parent 49ee07f93d
commit 445aa0d93b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -265,7 +265,7 @@ extractGitConfig configsource r = GitConfig
| otherwise = Nothing
in mapMaybe get (M.toList (Git.config r))
]
, annexAdviceNoSshCaching = getbool (annexConfig "adviceNoSshCaching") True
, annexAdviceNoSshCaching = getbool (annexConfig "advicenosshcaching") True
}
where
getbool k d = fromMaybe d $ getmaybebool k