Alban Gruin | 145e05a | 2018-08-10 18:51:29 +0200 | [diff] [blame] | 1 | #ifndef REBASE_INTERACTIVE_H |
| 2 | #define REBASE_INTERACTIVE_H |
| 3 | |
Nguyễn Thái Ngọc Duy | 36e7ed6 | 2018-11-10 06:49:10 +0100 | [diff] [blame] | 4 | struct strbuf; |
| 5 | struct repository; |
Phillip Wood | 0c26738 | 2024-05-30 13:43:49 +0000 | [diff] [blame] | 6 | struct replay_opts; |
Alban Gruin | 6ca89c6 | 2019-01-29 16:01:49 +0100 | [diff] [blame] | 7 | struct todo_list; |
Nguyễn Thái Ngọc Duy | 36e7ed6 | 2018-11-10 06:49:10 +0100 | [diff] [blame] | 8 | |
Elijah Newren | d48e5e2 | 2020-02-15 21:36:24 +0000 | [diff] [blame] | 9 | void append_todo_help(int command_count, |
Alban Gruin | af1fc3a | 2019-03-05 20:18:02 +0100 | [diff] [blame] | 10 | const char *shortrevisions, const char *shortonto, |
Alban Gruin | a9f5476 | 2018-08-10 18:51:35 +0200 | [diff] [blame] | 11 | struct strbuf *buf); |
Phillip Wood | 0c26738 | 2024-05-30 13:43:49 +0000 | [diff] [blame] | 12 | int edit_todo_list(struct repository *r, struct replay_opts *opts, |
| 13 | struct todo_list *todo_list, struct todo_list *new_todo, |
| 14 | const char *shortrevisions, const char *shortonto, |
| 15 | unsigned flags); |
Alban Gruin | 5a5445d | 2020-01-28 22:12:46 +0100 | [diff] [blame] | 16 | |
Alban Gruin | 6ca89c6 | 2019-01-29 16:01:49 +0100 | [diff] [blame] | 17 | int todo_list_check(struct todo_list *old_todo, struct todo_list *new_todo); |
Alban Gruin | 5a5445d | 2020-01-28 22:12:46 +0100 | [diff] [blame] | 18 | int todo_list_check_against_backup(struct repository *r, |
Phillip Wood | 0c26738 | 2024-05-30 13:43:49 +0000 | [diff] [blame] | 19 | struct replay_opts *opts, |
Alban Gruin | 5a5445d | 2020-01-28 22:12:46 +0100 | [diff] [blame] | 20 | struct todo_list *todo_list); |
Alban Gruin | 145e05a | 2018-08-10 18:51:29 +0200 | [diff] [blame] | 21 | |
Alban Gruin | 145e05a | 2018-08-10 18:51:29 +0200 | [diff] [blame] | 22 | #endif |