]> git.ipfire.org Git - thirdparty/git.git/commit
ref-filter: move is-base tip to used_atom
authorRené Scharfe <l.s.r@web.de>
Sat, 18 Jan 2025 17:11:51 +0000 (18:11 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Jan 2025 17:06:20 +0000 (09:06 -0800)
commit7ee4fd18ace71d187ee3ea5ba745a6a3493e0e0a
tree32b4ad9c873a9d1fb5e1ba4a549b5f7313d6e22d
parent5e58db65750a20ae6d0c620f8a2010e038d408f5
ref-filter: move is-base tip to used_atom

The string_list "is_base_tips" in struct ref_format stores the
committish part of "is-base:<committish>".  It has the same problems
that its sibling string_list "bases" had.  Fix them the same way as the
previous commit did for the latter, by replacing the string_list with
fields in "used_atom".

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c
ref-filter.h
t/t6600-test-reach.sh