Re: [PATCH v3 3/5] pack-objects: fix handling of multiple --filter options
Am 30.11.22 um 02:09 schrieb Junio C Hamano:
Show 11 quoted lines
> René Scharfe <l.s.r@web.de> writes:
>
>> Since 5cb28270a1 (pack-objects: lazily set up "struct rev_info", don't
>> leak, 2022-03-28) --filter options given to git pack-objects overrule
>> earlier ones, letting only the leftmost win and leaking the memory
>> allocated for earlier ones. Fix that by only initializing the rev_info
>> struct once.
>
> I think "leftmost" -> "rightmost", if your command line goes from
> left to right? Or "leftmost" -> "last" (e.g. "last one wins" over
> "earlier ones")?
Yes, indeed, I mixed up left and right again.
René