Re: [PATCH 2/5] pack-write: pass repository to `index_pack_lockfile()`
Junio C Hamano <gitster@pobox.com> writes:
Show 14 quoted lines
> Karthik Nayak via B4 Relay
> <devnull+karthik.188.gmail.com@kernel.org> writes:
>
>> From: Karthik Nayak <karthik.188@gmail.com>
>>
>> The `index_pack_lockfile()` function uses the global `the_repository`
>> variable to access the repository. To avoid global variable usage, pass
>> the repository from the layers above.
>>
>> Altough the layers above could have access to the hash function
>
> I do not think the choice of the hash algorithm has much to do with
> this change, though ;-)
>
Oops, copy-paste error. Thanks for pointing out, will fix.
[snip]