diff options
author | Joey Hess <joeyh@joeyh.name> | 2018-01-10 14:21:18 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2018-01-10 14:21:18 -0400 |
commit | ab17c8a5ccc5fa41e9fa489edfb1f828b4e3f2c5 (patch) | |
tree | b0129471c93a6c8e8d36e7c4a09391a82821ab22 /doc/git-annex.mdwn | |
parent | 24adb479480327b960d1db2806896f6ed8da8cce (diff) |
add remote.<name>.annex-checkuuid
Added remote.<name>.annex-checkuuid config, which can be set to false to
disable the default checking of the uuid of remotes that point to
directories. This can be useful to avoid unncessary drive spin-ups and
automounting.
Note that the UUID check is still done before writing to the repository,
to avoid writing to the wrong repository if it got relocated. Check is
also done before checkPresent to avoid getting confused about what is in
which repo. This is effectively the same as the use of git-annex-shell
with a uuid to check that the remote repository is the expected one.
Did not bother with the check for retrieveKeyFile because it doesn't
matter if the wrong repo is used then.
This commit was sponsored by Trenton Cronholm on Patreon.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r-- | doc/git-annex.mdwn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index d4502cdfa..f427d9409 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -1234,6 +1234,18 @@ Here are all the supported configuration settings. git-annex caches UUIDs of remote repositories here. +- `remote.<name>.annex-checkuuid` + + This only affects remotes that have their url pointing to a directory on + the same system. git-annex normally checks the uuid of such + remotes each time it's run, which lets it transparently deal with + different drives being mounted to the location at different times. + + Setting annex-checkuuid to false will prevent it from checking the uuid + at startup (although the uuid is still verified before making any + changes to the remote repository). This may be useful to set to prevent + unncessary spin-up or automounting of a drive. + * `remote.<name>.annex-trustlevel` Configures a local trust level for the remote. This overrides the value |