diff options
author | John Cai <johncai86@gmail.com> | 2024-08-09 15:37:51 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-09 08:47:34 -0700 |
commit | a30ce14a806b6b726ce87fc231a3536e8cc0b0fa (patch) | |
tree | 99d47784f0b7592d2e41825ab2149d2cc44a25cf /builtin/commit.c | |
parent | e8207717f1623325fe1c95338fb03c1104ed5687 (diff) |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions