]> git.ipfire.org Git - thirdparty/git.git/commit - refs/refs-internal.h
refs: teach arbitrary repo support to iterators
authorJonathan Tan <jonathantanmy@google.com>
Fri, 8 Oct 2021 21:08:15 +0000 (14:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Oct 2021 22:06:05 +0000 (15:06 -0700)
commit9bc45a28026eaea42011e8c1884aa2d9dc30f947
tree96ebd3f3bfb706e4d534bbf0de7f9223fddf32f3
parent34224e14d6b50cb04430188332362e6a0327e5ed
refs: teach arbitrary repo support to iterators

Note that should_pack_ref() is called when writing refs, which is only
supported for the_repository, hence the_repository is hardcoded there.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs/files-backend.c
refs/packed-backend.c
refs/refs-internal.h