Skip to content

Minor "list-objects" updates

Junio C Hamano git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rev-list: fix finish_object() callbuiltin/rev-list.c+1 -10 replies
2/3revision.c: add show_object_with_name() helper functionbuiltin/rev-list.c revision.c revision.h +1 more+23 -280 replies
3/3revision.c: update show_object_with_name() without using malloc()revision.c+36 -140 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] Minor "list-objects" updates

Unify two codepaths that list objects in "rev-list --objects" format, and get rid of unnecessary malloc()/free() done per each line of output.

Junio C Hamano (3):
rev-list: fix finish_object() call
revision.c: add show_object_with_name() helper function revision.c: update show_object_with_name() without using malloc()

 builtin/rev-list.c |   17 ++---------------
 revision.c         |   41 +++++++++++++++++++++++++++++++++++++++++
 revision.h         |    2 ++
 upload-pack.c      |   15 +--------------
 4 files changed, 46 insertions(+), 29 deletions(-)
Signature · 1 line
1.7.6.472.g4bfe7c