(no commit message)
authorasakurareiko@f3d908c71c009580228b264f63f21c7274df7476 <asakurareiko@web>
Fri, 30 Sep 2022 15:41:51 +0000 (15:41 +0000)
committeradmin <admin@branchable.com>
Fri, 30 Sep 2022 15:41:51 +0000 (15:41 +0000)
doc/todo/__91__PATCH__93___Fix_annex.adviceNoSshCaching_no_effect.mdwn [new file with mode: 0644]

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 (file)
index 0000000..c5b1207
--- /dev/null
@@ -0,0 +1,28 @@
+```
+From 1a67bc14aa74262a304e7b6bd6372b0eca40486e Mon Sep 17 00:00:00 2001
+From: Reiko Asakura <asakurareiko@protonmail.ch>
+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
+
+```