summaryrefslogtreecommitdiff
path: root/sequencer.h
diff options
context:
space:
mode:
authorAlban Gruin <alban.gruin@gmail.com>2019-03-05 19:17:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-03-07 00:17:57 (GMT)
commit1ba204de6924b171024638bb5f3f405a0e0946d0 (patch)
tree90aa5c5b4996fe59509e93e0672e0137f0efb4fb /sequencer.h
parent94bcad797966b6a3490bc6806d3ee3eed54da9d9 (diff)
downloadgit-1ba204de6924b171024638bb5f3f405a0e0946d0.zip
git-1ba204de6924b171024638bb5f3f405a0e0946d0.tar.gz
git-1ba204de6924b171024638bb5f3f405a0e0946d0.tar.bz2
rebase--interactive: move sequencer_add_exec_commands()
As sequencer_add_exec_commands() is only needed inside of rebase--interactive.c for `rebase -p', it is moved there from sequencer.c. The parameter r (repository) is dropped along the way. Signed-off-by: Alban Gruin <alban.gruin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sequencer.h b/sequencer.h
index 7029b39..0c4b7c8 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -145,9 +145,9 @@ 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);
-int sequencer_add_exec_commands(struct repository *r,
- struct string_list *commands);
int transform_todo_file(struct repository *r, unsigned flags);
+void todo_list_add_exec_commands(struct todo_list *todo_list,
+ struct string_list *commands);
int check_todo_list_from_file(struct repository *r);
int complete_action(struct repository *r, struct replay_opts *opts, unsigned flags,
const char *shortrevisions, const char *onto_name,