aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-21 18:46:39 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-21 18:49:25 -0400
commit7c3f0eae77b07ccc65c4e30d9eb1288781bd0c02 (patch)
treeaf6b86482c4f67f710349677a48917ac29fa404f /doc/git-annex.mdwn
parentd71baf07108c4903c444175ca482af1ed4cca1b4 (diff)
benchmarked numcopies .gitattributes in preferred content
Checking .gitattributes adds a full minute to a git annex find looking for files that don't have enough copies. 2:25 increasts to 3:27. I feel this is too much of a slowdown to justify making it the default. So, exposed two versions of the preferred content expression, a slow one and a fast but approximate one. I'm using the approximate one in the default preferred content expressions to avoid slowing down the assistant.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 6e7a6ed55..279fa24dd 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -1022,14 +1022,16 @@ file contents are present at either of two repositories.
copies, on remotes in the specified group. For example,
`--copies=archive:2`
-* `--numcopiesneeded=number`
+* `--lackingcopies=number`
Matches only files that git-annex believes need the specified number or
more additional copies to be made in order to satisfy their numcopies
- setting, as configured by the global numcopies setting of the repository.
+ settings.
- Note that for various reasons, including speed, this does not look
- at the annex.numcopies .gitattributes settings of files.
+* `--approxlackingcopies=number`
+
+ Like lackingcopies, but does not look at .gitattributes annex.numcopies
+ settings. This makes it significantly faster.
* `--inbackend=name`