summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-01 16:49:17 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-01 16:49:17 -0400
commit3d567aa64f263c6ee55c92e8b962087de063ebc8 (patch)
treeb900a87442363b33fd0fe9cba42923313f283676 /doc
parent12e0e95916b81352b6f0dfdf95d3e623d4a12738 (diff)
Add --numcopies option.
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/new_microfeatures.mdwn3
-rw-r--r--doc/git-annex.mdwn5
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/forum/new_microfeatures.mdwn b/doc/forum/new_microfeatures.mdwn
index 4b4389e3d..fe91addca 100644
--- a/doc/forum/new_microfeatures.mdwn
+++ b/doc/forum/new_microfeatures.mdwn
@@ -5,6 +5,9 @@ Here are a few I've been considering:
---
* --numcopies would be a useful command line switch.
+ > Update: Added. Also allows for things like `git annex drop
+ > --numcopies=2` when in a repo that normally needs 3 copies, if you need
+ > to urgently free up space.
* A way to make `drop` and other commands temporarily trust a given remote, or possibly all remotes.
Combined, this would allow `git annex drop --numcopies=2 --trust=repoa --trust=repob` to remove files that have been replicated out to the other 2 repositories, which could be offline. (Slightly unsafe, but in this case the files are podcasts so not really.)
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 7f2fce9d2..e4924d373 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -354,6 +354,11 @@ Many git-annex commands will stage changes for later `git commit` by you.
This option can be specified multiple times.
+* --numcopies=n
+
+ Overrides the `annex.numcopies` setting, forcing git-annex to ensure the
+ specified number of copies exist.
+
* --backend=name
Specifies which key-value backend to use. This can be used when