Re: [PATCH 02/12] load_subtree(): remove unnecessary conditional
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Aug 27, 2017, 06:37 UTC
- Message-ID
- <CAMy9T_HYV9=HvrAnAxHgzRvUy__3o99PxQSOe2iCE_swtk_8VQ@mail.gmail.com>
- In-Reply-To
- <xmqqh8wuqo6e.fsf@gitster.mtv.corp.google.com>
On Sat, Aug 26, 2017 at 6:38 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Michael Haggerty <mhagger@alum.mit.edu> writes: > >> At this point in the code, len is *always* <= 20. > > This is the kind of log message that makes me unconfortable, as it > lacks "because", and the readers would need to find out themselves > by following the same codepath the patch author already followed. > [...]
That's a valid complaint. I've adjusted the patch series to add the assertion and explain the reasoning better in the commit message. I've pushed the revised series to GitHub, but I'll wait a couple of days to see if there's more feedback before resubmitting.
Thanks, Michael