diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-11 17:16:39 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-11 17:24:14 +0100 |
commit | 0ef54a63580171b341d85dee65c063bee31ba35f (patch) | |
tree | eea6dec02c0c02546a24b2b98bd6def61b29d563 /src/object.c | |
parent | 61ccba0d5630eee7f88d34c872b71777df124c70 (diff) | |
download | libgit2-cmn/local-pack-threading.tar.gz |
local: create pack with multiple threadscmn/local-pack-threading
The default behaviour for the packbuilder is to perform the work in a
single thread, which is fine for the public API, but we currently have
no way for a user to determine the number of threads to use when
creating the packfile, which makes our clone behaviour over the
filesystem quite a bit slower than what git offers.
This is a very particular scenario, in which we avoid spawning git by
being ourselves the server-side, so it's probably ok to auto-set the
threading, as the upload-pack process would do if we were talking to
git.
Diffstat (limited to 'src/object.c')
0 files changed, 0 insertions, 0 deletions