diff options
author | John Cai <johncai86@gmail.com> | 2024-08-09 17:37:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-09 17:47:34 +0200 |
commit | a30ce14a806b6b726ce87fc231a3536e8cc0b0fa (patch) | |
tree | 99d47784f0b7592d2e41825ab2149d2cc44a25cf /t | |
parent | refs: add referent to each_ref_fn (diff) | |
download | git-a30ce14a806b6b726ce87fc231a3536e8cc0b0fa.tar.xz git-a30ce14a806b6b726ce87fc231a3536e8cc0b0fa.zip |
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 <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions