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.
This commit is contained in:
Joey Hess 2012-02-15 11:13:13 -04:00
parent c26db26259
commit 52c5b164d8
5 changed files with 46 additions and 22 deletions

View file

@ -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.