mktree --batch: build more than one tree object
commitf1cf2d8b1467b5973f249703b31e709eaede97ad
authorJosh Micich <josh.micich@gmail.com>
Thu, 14 May 2009 19:51:15 +0000 (14 12:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 May 2009 17:28:59 +0000 (16 10:28 -0700)
treedd7ea63492ebacded988b6cdb2c1cd6800852029
parente01662bb5da721d65226f4b173858ea3bf0bde30
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>
Documentation/git-mktree.txt
builtin-mktree.c