]> git.ipfire.org Git - thirdparty/git.git/commit
refs: peeling non-the_repository iterators is BUG
authorJonathan Tan <jonathantanmy@google.com>
Fri, 8 Oct 2021 21:08:16 +0000 (14:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Oct 2021 22:06:06 +0000 (15:06 -0700)
commit8788195c8846be949e6cd4bd19c8dc5e6371ffd3
tree083f441572e55b2726e2bea2bad031ef317278a6
parent9bc45a28026eaea42011e8c1884aa2d9dc30f947
refs: peeling non-the_repository iterators is BUG

There is currently no support for peeling the current ref of an iterator
iterating over a non-the_repository ref store, and none is needed. Thus,
for now, BUG() if that happens.

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