Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-09-17 16:00:38 +0400
committerJunio C Hamano <gitster@pobox.com>2007-09-18 11:55:25 +0400
commit0557656930d41f10c90bccf90e3c5bd87bd53661 (patch)
tree7760bf79e58acdc0ba9305aa368b87b44fbb1686 /git-compat-util.h
parenteec813cfc6409a1b72399acf7ac08283faad7b8f (diff)
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-compat-util.h')
0 files changed, 0 insertions, 0 deletions