annex.direct config setting
This commit is contained in:
parent
02bd012587
commit
2adb38aa59
2 changed files with 11 additions and 0 deletions
|
@ -116,6 +116,11 @@ getDiskReserve = fromMaybe megabyte . readSize dataUnits
|
|||
where
|
||||
megabyte = 1000000
|
||||
|
||||
{- Gets annex.direct setting. -}
|
||||
getDirect :: Annex Bool
|
||||
getDirect = fromMaybe False . Git.Config.isTrue <$>
|
||||
getConfig (annexConfig "direct") ""
|
||||
|
||||
{- Gets annex.httpheaders or annex.httpheaders-command setting,
|
||||
- splitting it into lines. -}
|
||||
getHttpHeaders :: Annex [String]
|
||||
|
|
|
@ -776,6 +776,12 @@ Here are all the supported configuration settings.
|
|||
to close it. On Mac OSX, this defaults to 1 second, to work around
|
||||
a bad interaction with software there.
|
||||
|
||||
* `annex.direct`
|
||||
|
||||
Set to true to enable an (experimental) mode where files in the repository
|
||||
are accessed directly, rather than through symlinks. Note that many git
|
||||
and git-annex commands will not work with such a repository.
|
||||
|
||||
* `remote.<name>.annex-cost`
|
||||
|
||||
When determining which repository to
|
||||
|
|
Loading…
Reference in a new issue