]> git.ipfire.org Git - thirdparty/git.git/commit
rebase-update-refs: extract load_branch_decorations
authorNicolas Guichard <nicolas@guichard.eu>
Wed, 9 Oct 2024 07:58:19 +0000 (07:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Oct 2024 17:52:45 +0000 (10:52 -0700)
commit68c9fcb027b4bd2e5d10618829937ee50503c281
tree0020d08bd3b38f3bbe16ae2e11dc428da06f2f21
parente4d03b79386e3bd0dba1c8096f8602490bda99d6
rebase-update-refs: extract load_branch_decorations

Extract load_branch_decorations from todo_list_add_update_ref_commands so
it can be re-used in make_script_with_merges.

Since it can now be called multiple times, use non-static lists and place
it next to load_ref_decorations to re-use the decoration_loaded guard.

Signed-off-by: Nicolas Guichard <nicolas@guichard.eu>
Acked-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c
log-tree.h
sequencer.c