Junio C Hamano writes:
> Nguyễn Thái Ngọc Duy writes:
>
>> -refname = commit->util;
>> +refname = *revision_sources_peek(&revision_sources, commit);
>
> At first glance, I thought that the reason why this uses _peek() is
> because the "sources" is expected to only sparsely be populated,
Nguyễn Thái Ngọc Duy writes:
> - refname = commit->util;
> + refname = *revision_sources_peek(&revision_sources, commit);
At first glance, I thought that the reason why this uses _peek() is
because the "sources" is expected to only sparsely be populated,
perhaps because get_tags_and_dup
Instead of relying on commit->util to store the source string, let the
user provide a commit-slab to store the source strings in.
It's done so that commit->util can be removed. See more explanation in
the commit that removes commit->util.
Signed-off-by: Nguyễn Thái Ngọc Duy
---
builtin/fast-exp
3 matches
Mail list logo