Skip to content

Verify the objects fetch obtained before updating ref

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3list-objects: pass callback data to show_objects()builtin/pack-objects.c builtin/rev-list.c list-objects.c +2 more+32 -190 replies
2/3rev-list --verify-objectbuiltin/rev-list.c revision.c revision.h+10 -00 replies
3/3fetch: verify we have everything we need before updating our refbuiltin/fetch.c+63 -563 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Verify the objects fetch obtained before updating ref

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
ref

 builtin/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(-)
Signature · 1 line
1.7.7.rc0.72.g4b5ea