diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-10-01 15:54:37 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-10-01 15:56:39 -0400 |
commit | b9fe55705f19fc39889da6157714039047aed4c9 (patch) | |
tree | 107888b257bfcf370353bce2969897046be3af33 /doc/git-annex.mdwn | |
parent | 55d635e356ecae2dd90d8cea355656faf3b24db1 (diff) |
Do verification of checksums of annex objects downloaded from remotes.
* When annex objects are received into git repositories, their checksums are
verified then too.
* To get the old, faster, behavior of not verifying checksums, set
annex.verify=false, or remote.<name>.annex-verify=false.
* setkey, rekey: These commands also now verify that the provided file
matches the key, unless annex.verify=false.
* reinject: Already verified content; this can now be disabled by
setting annex.verify=false.
recvkey and reinject already did verification, so removed now duplicate
code from them. fsck still does its own verification, which is ok since it
does not use getViaTmp, so verification doesn't happen twice when using fsck
--from.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r-- | doc/git-annex.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 794950d76..d35702804 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -1026,6 +1026,12 @@ Here are all the supported configuration settings. This both prevents git-annex sync from pushing changes, and prevents storing or removing files from read-only remote. +* `remote.<name>.annex-verify`, `annex.verify` + + By default, git-annex will verify the checksums of objects downloaded + from remotes. If you trust a remote and don't want the overhead + of these checksums, you can set this to `false`. + * `remote.<name>.annexUrl` Can be used to specify a different url than the regular `remote.<name>.url` |