summaryrefslogtreecommitdiff
path: root/sequencer.h
diff options
context:
space:
mode:
authorAlban Gruin <alban.gruin@gmail.com>2019-03-05 19:18:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-03-07 00:17:57 (GMT)
commited35d18841130fee0109cbe40b659275a3f78cc9 (patch)
tree528e12705e2e06abf5ed26d6309cbf2d504cdd79 /sequencer.h
parent1451d0f616fb1a046349cc8cd94736bcfde5e4a5 (diff)
downloadgit-ed35d18841130fee0109cbe40b659275a3f78cc9.zip
git-ed35d18841130fee0109cbe40b659275a3f78cc9.tar.gz
git-ed35d18841130fee0109cbe40b659275a3f78cc9.tar.bz2
rebase--interactive: move transform_todo_file()
As transform_todo_file() 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sequencer.h b/sequencer.h
index 195891a..7cca49e 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -143,7 +143,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);
-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);