Re: [PATCH 1/9] Add has_extension()
- From
Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
- Date
- Aug 10, 2006, 17:48 UTC
- Message-ID
- <44DB7178.4090706@lsrfire.ath.cx>
- In-Reply-To
- <Pine.LNX.4.63.0608101825000.10541@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin schrieb:
Show 6 quoted lines
> On Thu, 10 Aug 2006, Rene Scharfe wrote: > >> The little helper has_extension() documents through its name what we are >> trying to do and makes sure we don't forget the underrun check. > > While I think it is a good change, it is independent of verify-pack, no?
I could have limited has_extension() to verify-pack.c initially and then sent a conversion for the other files after this series had been accepted, yes. It's one of the main cleanups for verify_one_pack(), though, because it allowed me to drop some comments -- without losing readability (IMHO).
I could have documented it broader scope better in the commit message. :-/
Thanks, René