From 12b89a3eb81fdac92ec3ea9633bbd9a7d6a72adb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 25 Feb 2012 19:15:29 -0400 Subject: configure: Check if ssh connection caching is supported by the installed version of ssh and default annex.sshcaching accordingly. --- Config.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Config.hs') 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. -} -- cgit v1.2.3