diff options
Diffstat (limited to 'rebase-interactive.h')
-rw-r--r-- | rebase-interactive.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/rebase-interactive.h b/rebase-interactive.h index 971da03776..dc2cf0ee12 100644 --- a/rebase-interactive.h +++ b/rebase-interactive.h @@ -1,8 +1,21 @@ #ifndef REBASE_INTERACTIVE_H #define REBASE_INTERACTIVE_H -void append_todo_help(unsigned edit_todo, unsigned keep_empty, +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(unsigned flags); +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 |