vicfg: Include the numcopies configuation.

Docs say vicfg can configure everything from git-annex branch,
so it ought to configure numcopies.

Note that commenting out existing numcopies does not unset it.

This commit was sponsored by Thom May on Patreon.
This commit is contained in:
Joey Hess 2017-01-30 15:11:26 -04:00
parent 67ffb8bada
commit 26d23e38f1
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
5 changed files with 39 additions and 8 deletions

View file

@ -9,10 +9,13 @@ git annex numcopies `N`
# DESCRIPTION
Tells git-annex how many copies it should preserve of files, over all
repositories. The default is 1.
repositories. The default is 1.
Run without a number to get the current value.
This configuration is stored in the git-annex branch, so it will be seen
by all clones of the repository.
When git-annex is asked to drop a file, it first verifies that the
required number of copies can be satisfied among all the other
repositories that have a copy of the file.

View file

@ -1,6 +1,6 @@
# NAME
git-annex vicfg - edit git-annex's configuration
git-annex vicfg - edit configuration in git-annex branch
# SYNOPSIS
@ -8,14 +8,19 @@ git annex vicfg
# DESCRIPTION
Opens EDITOR on a temp file containing all of git-annex's global
configuration settings, and when it exits, stores any
changes made back to the git-annex branch.
Opens EDITOR on a temp file containing all of git-annex's
configuration settings that are stored in the git-annex branch,
and when it exits, stores any changes made back to the git-annex branch.
Unlike git config settings, these configuration settings can be seen
by all clones of the repository.
# SEE ALSO
[[git-annex]](1)
git-config(1)
# AUTHOR
Joey Hess <id@joeyh.name>