configure: Check if ssh connection caching is supported by the installed version of ssh and default annex.sshcaching accordingly.
This commit is contained in:
parent
c3fbe07d7a
commit
12b89a3eb8
8 changed files with 27 additions and 7 deletions
|
@ -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. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue