Fix annex.adviceNoSshCaching having no effect
authorReiko Asakura <asakurareiko@protonmail.ch>
Fri, 30 Sep 2022 14:56:17 +0000 (10:56 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 30 Sep 2022 18:03:06 +0000 (14:03 -0400)
git will always return option names in lowercase

Types/GitConfig.hs

index 44629d4126d79d0913527d0491822853b87a464d..4b892bd5ff640597776abec82a57a411deaacfe8 100644 (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