proxied importtree=yes remotes are untrustworthy

Even without exporttree=yes.
This commit is contained in:
Joey Hess 2024-08-08 15:25:08 -04:00
parent 3ea835c7e8
commit 349b1e443b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -231,7 +231,8 @@ gen r u rc gc rs
, readonly = Git.repoIsHttp r && not (isP2PHttp' gc) , readonly = Git.repoIsHttp r && not (isP2PHttp' gc)
, appendonly = False , appendonly = False
, untrustworthy = isJust (remoteAnnexProxiedBy gc) , untrustworthy = isJust (remoteAnnexProxiedBy gc)
&& exportTree c && not (isVersioning c) && (exportTree c || importTree c)
&& not (isVersioning c)
, availability = repoAvail r , availability = repoAvail r
, remotetype = remote , remotetype = remote
, mkUnavailable = unavailable r u rc gc rs , mkUnavailable = unavailable r u rc gc rs