aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-17 10:18:53 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-17 10:33:38 -0700
commit330a2ae60b2c6867ff2a94d54a64ace9bc94990e (patch)
treeb603de59977cf76596012cc4deaccf10e4f7d85c /object.c
parentrefs: convert iteration over replace refs to accept ref store (diff)
downloadgit-330a2ae60b2c6867ff2a94d54a64ace9bc94990e.tar.gz
git-330a2ae60b2c6867ff2a94d54a64ace9bc94990e.zip
refs: pass ref store when detecting dangling symrefs
Both `warn_dangling_symref()` and `warn_dangling_symrefs()` derive the ref store via `the_repository`. Adapt them to instead take in the ref store as a parameter. While at it, rename the functions to have a `ref_` prefix to align them with other functions that take a ref store. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.c')
0 files changed, 0 insertions, 0 deletions