]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.h
sequencer: make three functions and an enum from sequencer.c public
authorAlban Gruin <alban.gruin@gmail.com>
Fri, 10 Aug 2018 16:51:28 +0000 (18:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Aug 2018 18:56:22 +0000 (11:56 -0700)
commit44b776c3e9bcbfcb7fbf78baafc67394cf56e812
treeb2896ee3e7c7997a912f1d237246a0e69959bcb4
parentb7bd9486b055c3f967a870311e704e3bb0654e4f
sequencer: make three functions and an enum from sequencer.c public

This makes rebase_path_todo(), get_missing_commit_check_level(),
write_message() and the enum check_level accessible outside sequencer.c,
renames check_level to missing_commit_check_level, and prefixes its
value names by MISSING_COMMIT_ to avoid namespace pollution.

This function and this enum will eventually be moved to
rebase-interactive.c and become static again, so no special attention
was given to the naming.

This will be needed for the rewrite of append_todo_help() from shell to
C, as it will be in a new library source file, rebase-interactive.c.

Signed-off-by: Alban Gruin <alban.gruin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c
sequencer.h