Michael Haggerty writes:
> On 09/26/2014 09:00 PM, Junio C Hamano wrote:
>> Michael Haggerty writes:
>>
>>> Even the one lockfile object needn't be allocated each time the
>>> function is called. Instead, define one statically-allocated
>>> lock_file object and reuse it for every call.
>>>
>>>
On 09/26/2014 09:00 PM, Junio C Hamano wrote:
> Michael Haggerty writes:
>
>> Even the one lockfile object needn't be allocated each time the
>> function is called. Instead, define one statically-allocated
>> lock_file object and reuse it for every call.
>>
>> Suggested-by: Jeff King
>> Signed-
Michael Haggerty writes:
> Even the one lockfile object needn't be allocated each time the
> function is called. Instead, define one statically-allocated
> lock_file object and reuse it for every call.
>
> Suggested-by: Jeff King
> Signed-off-by: Michael Haggerty
> ---
> ...
> - hold_locke
Even the one lockfile object needn't be allocated each time the
function is called. Instead, define one statically-allocated
lock_file object and reuse it for every call.
Suggested-by: Jeff King
Signed-off-by: Michael Haggerty
---
builtin/merge.c | 14 +++---
1 file changed, 7 insertio
4 matches
Mail list logo