Re: [PATCH 1/4] list-object: add get_commit_count function
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 3, 2015, 17:49 UTC
- Message-ID
- <xmqqtwtl3zd7.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1435815536-30611-1-git-send-email-lawrencesiebert@gmail.com>
Lawrence Siebert <lawrencesiebert@gmail.com> writes:
Show 5 quoted lines
> 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 <lawrencesiebert@gmail.com> > ---
No way. Look at the things provided by list-objects.c API. They are not about formatting outputs. printf() calls do not belong there.