mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
e4d03b7938
commit
68c9fcb027
@@ -33,6 +33,7 @@ void log_write_email_headers(struct rev_info *opt, struct commit *commit,
|
||||
int *need_8bit_cte_p,
|
||||
int maybe_multipart);
|
||||
void load_ref_decorations(struct decoration_filter *filter, int flags);
|
||||
void load_branch_decorations(void);
|
||||
|
||||
void fmt_output_commit(struct strbuf *, struct commit *, struct rev_info *);
|
||||
void fmt_output_subject(struct strbuf *, const char *subject, struct rev_info *);
|
||||
|
||||
Reference in New Issue
Block a user