add remote.<name>.annex-config-uuid
for use by sameas remotes
This commit is contained in:
parent
06c04ffe29
commit
17afefd63f
2 changed files with 7 additions and 0 deletions
|
@ -246,6 +246,7 @@ data RemoteGitConfig = RemoteGitConfig
|
|||
, remoteAnnexRetry :: Maybe Integer
|
||||
, remoteAnnexRetryDelay :: Maybe Seconds
|
||||
, remoteAnnexAllowUnverifiedDownloads :: Bool
|
||||
, remoteAnnexConfigUUID :: Maybe UUID
|
||||
|
||||
{- These settings are specific to particular types of remotes
|
||||
- including special remotes. -}
|
||||
|
@ -308,6 +309,7 @@ extractRemoteGitConfig r remotename = do
|
|||
<$> getmayberead "retrydelay"
|
||||
, remoteAnnexAllowUnverifiedDownloads = (== Just "ACKTHPPT") $
|
||||
getmaybe ("security-allow-unverified-downloads")
|
||||
, remoteAnnexConfigUUID = toUUID <$> getmaybe "config-uuid"
|
||||
, remoteAnnexShell = getmaybe "shell"
|
||||
, remoteAnnexSshOptions = getoptions "ssh-options"
|
||||
, remoteAnnexRsyncOptions = getoptions "rsync-options"
|
||||
|
|
|
@ -1268,6 +1268,11 @@ Remotes are configured using these settings in `.git/config`.
|
|||
|
||||
git-annex caches UUIDs of remote repositories here.
|
||||
|
||||
* `remote.<name>.annex-config-uuid`
|
||||
|
||||
Used for some special remotes, points to a different special remote
|
||||
configuration to use.
|
||||
|
||||
* `remote.<name>.annex-retry`, `annex.retry`
|
||||
|
||||
Configure retries of failed transfers on a per-remote and general
|
||||
|
|
Loading…
Reference in a new issue