Re: [PATCH 06/12] fast-import: switch various uses of SHA-1 to the_hash_algo
- From
Patryk Obara <patryk.obara@gmail.com>
- Date
- Jan 28, 2018, 20:10 UTC
- Message-ID
- <eb5b2319-a67c-8a49-81f4-1b981673459a@gmail.com>
- In-Reply-To
- <20180128155722.880805-7-sandals@crustytoothpaste.net>
On 28/01/2018 16:57, brian m. carlson wrote:
> - if (last && last->data.buf && last->depth < max_depth && dat->len > 20) {
> + if (last && last->data.buf && last->depth < max_depth && dat->len > the_hash_algo->rawsz) {At this point line is almost 100 characters long - maybe it's time to break it ;)
-- | ← Ceci n'est pas une pipe Patryk Obara