summaryrefslogtreecommitdiff
path: root/sequencer.h
diff options
context:
space:
mode:
authorLiam Beguin <liambeguin@gmail.com>2017-12-05 17:52:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-12-05 18:20:51 (GMT)
commit0cce4a2756eb2c66544615e5ccd74671afb33256 (patch)
tree5165b7868b62a88b7f26a58efe90993c2520f9c1 /sequencer.h
parent313a48eaca58ecd170bef9e6a5a55001c7511f08 (diff)
downloadgit-0cce4a2756eb2c66544615e5ccd74671afb33256.zip
git-0cce4a2756eb2c66544615e5ccd74671afb33256.tar.gz
git-0cce4a2756eb2c66544615e5ccd74671afb33256.tar.bz2
rebase -i -x: add exec commands via the rebase--helper
Recent work on `git-rebase--interactive` aims to convert shell code to C. Even if this is most likely not a big performance enhancement, let's convert it too since a coming change to abbreviate command names requires it to be updated. Signed-off-by: Liam Beguin <liambeguin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sequencer.h b/sequencer.h
index 68284e9..212426c 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -50,6 +50,7 @@ int sequencer_remove_state(struct replay_opts *opts);
int sequencer_make_script(FILE *out, int argc, const char **argv,
unsigned flags);
+int sequencer_add_exec_commands(const char *command);
int transform_todos(unsigned flags);
int check_todo_list(void);
int skip_unnecessary_picks(void);