Behavior change: --trust option no longer overrides trust
Since that can lead to data loss, which should never be enabled by an option other than --force. I suppose that using --trust was in some situation, safer than --force, because it doesn't entirely disable checking for data loss, but only disables checking involving data that is on the specified repository. But it seems better to be able to say that data loss only happens with --force. This commit was sponsored by Graham Spencer on Patreon.
This commit is contained in:
parent
6a0030a110
commit
2bf34fc17f
5 changed files with 14 additions and 8 deletions
|
@ -55,7 +55,7 @@ gitAnnexGlobalOptions = commonGlobalOptions ++
|
|||
)
|
||||
, globalSetter (Remote.forceTrust Trusted) $ strOption
|
||||
( long "trust" <> metavar paramRemote
|
||||
<> help "override trust setting"
|
||||
<> help "deprecated, does not override trust setting"
|
||||
<> hidden
|
||||
<> completeRemotes
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue