Re: [PATCH v2 09/11] reflog-walk.c: use ALLOC_GROW() instead of inline code
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 28, 2014, 19:06 UTC
- Message-ID
- <xmqqbnxrukdw.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CACsJy8DKXYJc2k6Zsqd0ruF_Jex=FH8rWzmhax2Co8z_oa+7zw@mail.gmail.com>
Duy Nguyen <pclouds@gmail.com> writes:
Show 6 quoted lines
> On Fri, Feb 28, 2014 at 4:46 PM, Dmitry S. Dolzhenko > <dmitrys.dolzhenko@yandex.ru> wrote: >> Affected functions: read_one_reflog(), add_commit_info() > > We can usually see this from @@ line so it's not really needed to > describe. Same comment for a few other patches.
Not everybody always reads "git log" with "-p". It is good to see what are changed mentioned somewhere.
I prefer to see full sentences, though ;-)
Subject: reflog-walk.c: use ALLOC_GROW()
read_one_reflog() and add_commit_info() open-codes reallocation;
use ALLOC_GROW() instead.or something. But that is minor.