proxied exporttree=yes versionedexport=yes remotes are not untrusted
This removes versionedExport, which was only used by the S3 special remote. Instead, versionedexport=yes is a common way for remotes to indicate that they are versioned.
This commit is contained in:
parent
5c36177e58
commit
3ea835c7e8
16 changed files with 23 additions and 53 deletions
|
@ -84,6 +84,7 @@ remote = RemoteType
|
|||
, configParser = mkRemoteConfigParser
|
||||
[ optionalStringParser locationField
|
||||
(FieldDesc "url of git remote to remember with special remote")
|
||||
, yesNoParser versioningField (Just False) HiddenField
|
||||
]
|
||||
, setup = gitSetup
|
||||
, exportSupported = exportUnsupported
|
||||
|
@ -230,7 +231,7 @@ gen r u rc gc rs
|
|||
, readonly = Git.repoIsHttp r && not (isP2PHttp' gc)
|
||||
, appendonly = False
|
||||
, untrustworthy = isJust (remoteAnnexProxiedBy gc)
|
||||
&& exportTree c
|
||||
&& exportTree c && not (isVersioning c)
|
||||
, availability = repoAvail r
|
||||
, remotetype = remote
|
||||
, mkUnavailable = unavailable r u rc gc rs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue