diff options
author | Pierre Habouzit <madcoder@debian.org> | 2007-09-17 14:00:38 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-18 00:55:25 -0700 |
commit | 0557656930d41f10c90bccf90e3c5bd87bd53661 (patch) | |
tree | 7760bf79e58acdc0ba9305aa368b87b44fbb1686 /Documentation/git-read-tree.txt | |
parent | fast-import was using dbuf's, replace them with strbuf's. (diff) | |
download | tgif-0557656930d41f10c90bccf90e3c5bd87bd53661.tar.xz |
fast-import optimization:
Now that cmd_data acts on a strbuf, make last_object stashed buffer be a
strbuf as well. On new stash, don't free the last stashed buffer, rather
swap it with the one you will stash, this way, callers of store_object can
act on static strbufs, and at some point, fast-import won't allocate new
memory for objects buffers.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-read-tree.txt')
0 files changed, 0 insertions, 0 deletions