Re: [PATCH 1/4] list-object: add get_commit_count function

2015-07-03 Thread Jeff King
On Fri, Jul 03, 2015 at 10:49:40AM -0700, Junio C Hamano wrote: > Lawrence Siebert writes: > > > Moving commit counting from rev-list into list-object which is a step > > toward letting git log do counting as well. > > > > Signed-off-by: Lawrence Siebert > > --- > > No way. Look at the things

Re: [PATCH 1/4] list-object: add get_commit_count function

2015-07-03 Thread Junio C Hamano
Lawrence Siebert writes: > Moving commit counting from rev-list into list-object which is a step > toward letting git log do counting as well. > > Signed-off-by: Lawrence Siebert > --- No way. Look at the things provided by list-objects.c API. They are not about formatting outputs. printf()

Re: [PATCH 1/4] list-object: add get_commit_count function

2015-07-02 Thread Remi Galan Alfonso
Lawrence Siebert writes: > +get_commit_count(&revs); There's trailing whitespace here. (See my message in 3/4) Rémi -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel

[PATCH 1/4] list-object: add get_commit_count function

2015-07-01 Thread Lawrence Siebert
Moving commit counting from rev-list into list-object which is a step toward letting git log do counting as well. Signed-off-by: Lawrence Siebert --- builtin/rev-list.c | 12 ++-- list-objects.c | 14 ++ list-objects.h | 1 + 3 files changed, 17 insertions(+), 10 del