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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html