summaryrefslogtreecommitdiff
path: root/git-cvsserver.perl
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-09-17 12:00:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-18 07:55:25 (GMT)
commit0557656930d41f10c90bccf90e3c5bd87bd53661 (patch)
tree7760bf79e58acdc0ba9305aa368b87b44fbb1686 /git-cvsserver.perl
parenteec813cfc6409a1b72399acf7ac08283faad7b8f (diff)
downloadgit-0557656930d41f10c90bccf90e3c5bd87bd53661.zip
git-0557656930d41f10c90bccf90e3c5bd87bd53661.tar.gz
git-0557656930d41f10c90bccf90e3c5bd87bd53661.tar.bz2
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 'git-cvsserver.perl')
0 files changed, 0 insertions, 0 deletions