configure: Check if ssh connection caching is supported by the installed version of ssh and default annex.sshcaching accordingly.

This commit is contained in:
Joey Hess 2012-02-25 19:15:29 -04:00
parent c3fbe07d7a
commit 12b89a3eb8
8 changed files with 27 additions and 7 deletions

View file

@ -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. -}