diff --git a/doc/todo/__91__PATCH__93___Fix_annex.adviceNoSshCaching_no_effect.mdwn b/doc/todo/__91__PATCH__93___Fix_annex.adviceNoSshCaching_no_effect.mdwn new file mode 100644 index 0000000000..c5b120713f --- /dev/null +++ b/doc/todo/__91__PATCH__93___Fix_annex.adviceNoSshCaching_no_effect.mdwn @@ -0,0 +1,28 @@ +``` +From 1a67bc14aa74262a304e7b6bd6372b0eca40486e 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 44629d412..4b892bd5f 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 +-- +2.30.2 + +```