diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2021-09-07 21:05:12 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-08 04:45:33 (GMT) |
commit | 17919c3585ba9df9c65ea4a5f7300543dfba5f9f (patch) | |
tree | 8f66e90b99872a42258754130988901ce6a626f5 /sequencer.h | |
parent | 06aa5e4ea4f2c5bbf5ae80f31b0dbd5df267ba74 (diff) | |
download | git-17919c3585ba9df9c65ea4a5f7300543dfba5f9f.zip git-17919c3585ba9df9c65ea4a5f7300543dfba5f9f.tar.gz git-17919c3585ba9df9c65ea4a5f7300543dfba5f9f.tar.bz2 |
sequencer: restrict scope of a formerly public function
The function to add the `exec` commands to the todo list only needed to
be public API because it was not only used internally by the sequencer,
but also by `git rebase --preserve-merges`.
Now that that mode has been removed, we no longer need that function to
be scoped publicly.
Helped-by: Alban Gruin <alban.gruin@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
-rw-r--r-- | sequencer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sequencer.h b/sequencer.h index d57d8ea..60a156e 100644 --- a/sequencer.h +++ b/sequencer.h @@ -160,8 +160,6 @@ int sequencer_remove_state(struct replay_opts *opts); int sequencer_make_script(struct repository *r, struct strbuf *out, int argc, const char **argv, unsigned flags); -void todo_list_add_exec_commands(struct todo_list *todo_list, - struct string_list *commands); int complete_action(struct repository *r, struct replay_opts *opts, unsigned flags, const char *shortrevisions, const char *onto_name, struct commit *onto, const struct object_id *orig_head, |