aboutsummaryrefslogtreecommitdiffstats
path: root/rebase-interactive.h
diff options
context:
space:
mode:
authorAlban Gruin <alban.gruin@gmail.com>2018-08-10 18:51:31 +0200
committerJunio C Hamano <gitster@pobox.com>2018-08-10 11:56:22 -0700
commit64a43cbd5da23718dee242d6ad4d5823128bf564 (patch)
tree7b5c399b5497773b519a7609f19c45321e8c1b7e /rebase-interactive.h
parent2aed01811daee2f412b795ea539a4eb5abb69510 (diff)
downloadgit-64a43cbd5da23718dee242d6ad4d5823128bf564.tar.gz
rebase -i: rewrite the edit-todo functionality in C
This rewrites the edit-todo functionality from shell to C. To achieve that, a new command mode, `edit-todo`, is added, and the `write-edit-todo` flag is removed, as the shell script does not need to write the edit todo help message to the todo list anymore. The shell version is then stripped in favour of a call to the helper. Signed-off-by: Alban Gruin <alban.gruin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'rebase-interactive.h')
-rw-r--r--rebase-interactive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rebase-interactive.h b/rebase-interactive.h
index 47372624e0..155219e742 100644
--- a/rebase-interactive.h
+++ b/rebase-interactive.h
@@ -2,5 +2,6 @@
#define REBASE_INTERACTIVE_H
int append_todo_help(unsigned edit_todo, unsigned keep_empty);
+int edit_todo_list(unsigned flags);
#endif