projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49ee07f
)
Fix annex.adviceNoSshCaching having no effect
author
Reiko Asakura
<asakurareiko@protonmail.ch>
Fri, 30 Sep 2022 14:56:17 +0000
(10:56 -0400)
committer
Joey 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
patch
|
blob
|
history
diff --git
a/Types/GitConfig.hs
b/Types/GitConfig.hs
index 44629d4126d79d0913527d0491822853b87a464d..4b892bd5ff640597776abec82a57a411deaacfe8 100644
(file)
--- 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 "advice
NoSshC
aching") True
+ , annexAdviceNoSshCaching = getbool (annexConfig "advice
nosshc
aching") True
}
where
getbool k d = fromMaybe d $ getmaybebool k