about summary refs log tree commit diff
path: root/third_party/git/rebase-interactive.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/rebase-interactive.h')
-rw-r--r--third_party/git/rebase-interactive.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/third_party/git/rebase-interactive.h b/third_party/git/rebase-interactive.h
new file mode 100644
index 000000000000..dc2cf0ee122c
--- /dev/null
+++ b/third_party/git/rebase-interactive.h
@@ -0,0 +1,21 @@
+#ifndef REBASE_INTERACTIVE_H
+#define REBASE_INTERACTIVE_H
+
+struct strbuf;
+struct repository;
+struct todo_list;
+
+void append_todo_help(int command_count,
+		      const char *shortrevisions, const char *shortonto,
+		      struct strbuf *buf);
+int edit_todo_list(struct repository *r, struct todo_list *todo_list,
+		   struct todo_list *new_todo, const char *shortrevisions,
+		   const char *shortonto, unsigned flags);
+
+int todo_list_check(struct todo_list *old_todo, struct todo_list *new_todo);
+int todo_list_check_against_backup(struct repository *r,
+				   struct todo_list *todo_list);
+
+int check_todo_list_from_file(struct repository *r);
+
+#endif