Re: [PATCH 1/2] sha1_name: stop hard-coding 40-character hex checks
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Jun 18, 2013, 07:03 UTC
- Message-ID
- <CALkWK0=_Ac+dQV23xiXty3peWdhn2iFzgSPb7LYDFmoCzYhxQQ@mail.gmail.com>
- In-Reply-To
- <CABURp0qs7uPkczmS8EC-iNgCVh2eTaeCKsh7NwVuS4j92jMn+A@mail.gmail.com>
Phil Hord wrote:
> I share your disdain for the bare '40's in the code. But I think this > code is less clear than the previous version with the magic number.
Please read the cover-letter: I was just toying around to see if this was a good idea, and Junio points out that it's not.