This commit is contained in:
asakurareiko@f3d908c71c009580228b264f63f21c7274df7476 2022-09-30 15:41:51 +00:00 committed by admin
parent 4e0eb2d124
commit 3c1230a8c0

View file

@ -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
```