summaryrefslogtreecommitdiff
path: root/Config.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-25 19:15:29 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-25 19:15:29 -0400
commit12b89a3eb81fdac92ec3ea9633bbd9a7d6a72adb (patch)
treeea35600752cf95dab1522257ee722d29b39fee27 /Config.hs
parentc3fbe07d7ad03944d0967ebfa2b8f65cbc2ad5dc (diff)
configure: Check if ssh connection caching is supported by the installed version of ssh and default annex.sshcaching accordingly.
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Config.hs b/Config.hs
index 349ddf67f..a93e2610e 100644
--- a/Config.hs
+++ b/Config.hs
@@ -69,7 +69,7 @@ prop_cost_sane = False `notElem`
{- Checks if a repo should be ignored. -}
repoNotIgnored :: Git.Repo -> Annex Bool
-repoNotIgnored r = not . Git.configTrue <$> getConfig r "ignore" "false"
+repoNotIgnored r = not . fromMaybe False . Git.configTrue <$> getConfig r "ignore" ""
{- If a value is specified, it is used; otherwise the default is looked up
- in git config. forcenumcopies overrides everything. -}