From: Junio C Hamano <gitster@pobox.com>
To: git@vger.kernel.org
Subject: [PATCH 0/4] Bulk check-in
Date: Fri, 28 Oct 2011 16:54:07 -0700 [thread overview]
Message-ID: <1319846051-462-1-git-send-email-gitster@pobox.com> (raw)
This miniseries is a continuation of the "large file" topic from 1.7.6
development cycle.
The first three are moving existing code around for better reuse. The
last one serves two purposes: to lift the one-pack-per-one-large-blob
constraint by introducing the concept of "plugging/unplugging" (i.e. you
plug the drain and throw many large blob at index_fd(), and they appear in
a single pack when you unplug it), and to stop using fast-import in this
codepath.
Only very lightly tested.
Junio C Hamano (4):
write_pack_header(): a helper function
create_tmp_packfile(): a helper function
finish_tmp_packfile(): a helper function
Bulk check-in
Makefile | 2 +
builtin/add.c | 5 ++
builtin/pack-objects.c | 56 +++++------------
bulk-checkin.c | 159 ++++++++++++++++++++++++++++++++++++++++++++++++
bulk-checkin.h | 16 +++++
pack-write.c | 53 ++++++++++++++++
pack.h | 6 ++
sha1_file.c | 67 +-------------------
t/t1050-large.sh | 26 ++++++--
9 files changed, 282 insertions(+), 108 deletions(-)
create mode 100644 bulk-checkin.c
create mode 100644 bulk-checkin.h
--
1.7.7.1.573.ga40d2
next reply other threads:[~2011-10-28 23:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 23:54 Junio C Hamano [this message]
2011-10-28 23:54 ` [PATCH 1/4] write_pack_header(): a helper function Junio C Hamano
2011-10-28 23:54 ` [PATCH 2/4] create_tmp_packfile(): " Junio C Hamano
2011-10-28 23:54 ` [PATCH 3/4] finish_tmp_packfile(): " Junio C Hamano
2011-10-28 23:54 ` [PATCH 4/4] Bulk check-in Junio C Hamano
2011-11-18 7:11 ` [PATCH 0/3] bulk-checkin continued Junio C Hamano
2011-11-18 7:11 ` [PATCH 1/3] csum-file: introduce sha1file_checkpoint Junio C Hamano
2011-11-18 7:11 ` [PATCH 2/3] bulk-checkin: do not write the same object twice Junio C Hamano
2011-11-18 7:11 ` [PATCH 3/3] bulk-checkin: do not write an object that already exists Junio C Hamano
2011-11-24 5:18 ` [PATCH] bulk-checkin: honor pack.packsizelimit Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1319846051-462-1-git-send-email-gitster@pobox.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).