[PATCH 0/4] Bulk check-in
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 28, 2011, 23:54 UTC
- Message-ID
- <1319846051-462-1-git-send-email-gitster@pobox.com>
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