summaryrefslogtreecommitdiff
path: root/rebase-interactive.h
diff options
context:
space:
mode:
authorAlban Gruin <alban.gruin@gmail.com>2018-08-28 14:10:37 +0200
committerJunio C Hamano <gitster@pobox.com>2018-08-29 13:38:18 -0700
commit91f0d95dcb4dd9c388881b64a7d79a3809927126 (patch)
tree99231e8e11e68ff2df058afeb07237c2e6ede186 /rebase-interactive.h
parentb97e187364990fb8410355ff8b4365d0e37bbbbe (diff)
downloadgit-91f0d95dcb4dd9c388881b64a7d79a3809927126.tar.gz
rebase -i: remove unused modes and functions
This removes the modes `--skip-unnecessary-picks`, `--append-todo-help`, and `--checkout-onto` from rebase--helper.c, the functions of git-rebase--interactive.sh that were rendered useless by the rewrite of complete_action(), and append_todo_help_to_file() from rebase-interactive.c. skip_unnecessary_picks() and checkout_onto() becomes static, as they are only used inside of the sequencer. 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, 0 insertions, 1 deletions
diff --git a/rebase-interactive.h b/rebase-interactive.h
index d33f3176b7..971da03776 100644
--- a/rebase-interactive.h
+++ b/rebase-interactive.h
@@ -3,7 +3,6 @@
void append_todo_help(unsigned edit_todo, unsigned keep_empty,
struct strbuf *buf);
-int append_todo_help_to_file(unsigned edit_todo, unsigned keep_empty);
int edit_todo_list(unsigned flags);
#endif