[PATCH 0/3] Verify the objects fetch obtained before updating ref
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 1, 2011, 22:43 UTC
- Message-ID
- <1314917015-3587-1-git-send-email-gitster@pobox.com>
- In-Reply-To
- <7vpqjkw3nb.fsf@alter.siamese.dyndns.org>
So here is a series to make the client side a bit more careful.
These patches apply on top of jc/traverse-commit-list beba25a (revision.c: update show_object_with_name() without using malloc(), 2011-08-17) in 'next'.
Junio C Hamano (3):
list-objects: pass callback data to show_objects()
rev-list --verify-object
fetch: ensure we transferred everything we need before updating our
refbuiltin/fetch.c | 119 +++++++++++++++++++++++++---------------------- builtin/pack-objects.c | 4 +- builtin/rev-list.c | 14 ++++- list-objects.c | 28 +++++++---- list-objects.h | 5 +- revision.c | 5 ++ revision.h | 1 + upload-pack.c | 4 +- 8 files changed, 105 insertions(+), 75 deletions(-)
-- 1.7.7.rc0.72.g4b5ea