[PATCH 0/3] Minor "list-objects" updates
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 17, 2011, 21:30 UTC
- Message-ID
- <1313616635-25331-1-git-send-email-gitster@pobox.com>
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(-)
-- 1.7.6.472.g4bfe7c