]> git.ipfire.org Git - thirdparty/git.git/commit
refs/files: extract function to iterate through root refs
authorPatrick Steinhardt <ps@pks.im>
Thu, 6 Jun 2024 05:29:20 +0000 (07:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Jun 2024 16:04:32 +0000 (09:04 -0700)
commit120b67172f7858a70b36941fa31af58a0534020e
tree40cb290f33d42e2984d2af64cf4722e41f253a98
parent66275a63117261749b40c774042bcb6e20e5d13b
refs/files: extract function to iterate through root refs

Extract a new function that can be used to iterate through all root refs
known to the "files" backend. This will be used in the next commit,
where we start to teach ref backends to remove themselves.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c