sequencer: refactor transform_todos() to work on a todo_list
[gitweb.git] / rebase-interactive.h
index 47372624e035956515beebc932fb268bea524de5..17b6c9f6d05ea2372c58a50679cb0f8fb808aaef 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef REBASE_INTERACTIVE_H
 #define REBASE_INTERACTIVE_H
 
-int append_todo_help(unsigned edit_todo, unsigned keep_empty);
+struct strbuf;
+struct repository;
+
+void append_todo_help(unsigned edit_todo, unsigned keep_empty,
+                     struct strbuf *buf);
+int edit_todo_list(struct repository *r, unsigned flags);
 
 #endif