From: Peijian Ju Date: Tue, 14 Jan 2025 01:36:32 GMT Subject: Re: [PATCH v9 2/8] cat-file: add declaration of variable i inside its for loop Message-ID: In-Reply-To: Thank you. Add that in the commit message. On Fri, Jan 10, 2025 at 6:39 AM Christian Couder wrote: > > On Wed, Jan 8, 2025 at 7:38 PM Eric Ju wrote: > > > > Some code used in this series declares variable i and only uses it > > in a for loop, not in any other logic outside the loop. > > > > Change the declaration of i to be inside the for loop for readability. > > It might be nice to say that, while at it, we also change the type > from "int" to "size_t" where the latter makes more sense.