Subject: Re: [PATCH] MyFirstContribution.txt: fix undeclared variable i in sample code

From: Junio C Hamano <[email-masked]>
Date: Sat, 13 Nov 2021 22:41:13 -0800

Saksham Mittal <[email-masked]> writes:

>> It is declared, there is an "int i;" a few lines up.
>
> Oh, man, I never even saw that! The patch is completely unnecessary
> then. Sorry for that!

No need to say sorry; you'd want to be a bit more careful next time,
that's all.

Also, our code does not introduce a new variable in the first part
of "for (;;)" loop control, so even if the original lacked decl for
"i", the posted patch is not how we write our code for this project.

Thanks.