aboutsummaryrefslogtreecommitdiffstats
path: root/diff.c
diff options
context:
space:
mode:
authorNicolas Guichard <nicolas@guichard.eu>2024-10-09 07:58:19 +0000
committerJunio C Hamano <gitster@pobox.com>2024-10-09 10:52:45 -0700
commit68c9fcb027b4bd2e5d10618829937ee50503c281 (patch)
tree0020d08bd3b38f3bbe16ae2e11dc428da06f2f21 /diff.c
parentload_branch_decorations: fix memory leak with non-static filters (diff)
downloadgit-68c9fcb027b4bd2e5d10618829937ee50503c281.tar.gz
git-68c9fcb027b4bd2e5d10618829937ee50503c281.zip
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>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions