commit | f1cf2d8b1467b5973f249703b31e709eaede97ad | [log] [tgz] |
---|---|---|
author | Josh Micich <josh.micich@gmail.com> | Thu May 14 12:51:15 2009 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Sat May 16 10:28:59 2009 -0700 |
tree | dd7ea63492ebacded988b6cdb2c1cd6800852029 | |
parent | e01662bb5da721d65226f4b173858ea3bf0bde30 [diff] |
mktree --batch: build more than one tree object This option works in a similar way to the '--batch' option of 'git cat-file'. It enables creation of many tree objects with a single process. The change was motivated by performance considerations in applications that need to create many tree objects. A non-rigorous test showed tree creation times improved from (roughly) 200ms to 50ms. Signed-off-by: Josh Micich <josh.micich@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>