]> git.99rst.org Git - git.git/commit
ref-filter: populate symref from iterator
authorJohn Cai <redacted>
Fri, 9 Aug 2024 15:37:51 +0000 (15:37 +0000)
committerJunio C Hamano <redacted>
Fri, 9 Aug 2024 15:47:34 +0000 (08:47 -0700)
commita30ce14a806b6b726ce87fc231a3536e8cc0b0fa
tree99d47784f0b7592d2e41825ab2149d2cc44a25cf
parente8207717f1623325fe1c95338fb03c1104ed5687
ref-filter: populate symref from iterator

With a previous commit, the reference the symbolic ref points to is saved
in the ref iterator records. Instead of making a separate call to
resolve_refdup() each time, we can just populate the ref_array_item with
the value from the iterator.

Signed-off-by: John Cai <redacted>
Signed-off-by: Junio C Hamano <redacted>
ref-filter.c
git clone https://git.99rst.org/PROJECT