summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-15 11:13:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-15 11:14:19 -0400
commit52c5b164d8dee3761b6ad96e3d636f862a2344e3 (patch)
tree71ef23b51d9bea9361cadec70db135f6bd60152d /doc
parentc26db2625934e315163077d19d814bc71df7ef6e (diff)
Added a annex.queuesize setting
useful when adding hundreds of thousands of files on a system with plenty of memory. git add gets quite slow in such a large repository, so if the system has more than the ~32 mb of memory the queue can use by default, it's a useful optimisation to increase the queue size, in order to decrease the number of times git add is run.
Diffstat (limited to 'doc')
-rw-r--r--doc/git-annex.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 9232bf020..d4e62568f 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -576,6 +576,14 @@ Here are all the supported configuration settings.
The default reserve is 1 megabyte.
+* `annex.queuesize`
+
+ git-annex builds a queue of git commands, in order to combine similar
+ commands for speed. By default the size of the queue is limited to
+ 10240 commands; this can be used to change the size. If you have plenty
+ of memory and are working with very large numbers of files, increasing
+ the queue size can speed it up.
+
* `annex.version`
Automatically maintained, and used to automate upgrades between versions.