From 445aa0d93b7c8f50889afdf80c1a505a1440e566 Mon Sep 17 00:00:00 2001 From: Reiko Asakura Date: Fri, 30 Sep 2022 10:56:17 -0400 Subject: [PATCH] Fix annex.adviceNoSshCaching having no effect git will always return option names in lowercase --- Types/GitConfig.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Types/GitConfig.hs b/Types/GitConfig.hs index 44629d4126..4b892bd5ff 100644 --- a/Types/GitConfig.hs +++ b/Types/GitConfig.hs @@ -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