2018-08-11 00:51:29 +08:00
|
|
|
#ifndef REBASE_INTERACTIVE_H
|
|
|
|
#define REBASE_INTERACTIVE_H
|
|
|
|
|
2018-11-10 13:49:10 +08:00
|
|
|
struct strbuf;
|
|
|
|
struct repository;
|
2019-01-29 23:01:49 +08:00
|
|
|
struct todo_list;
|
2018-11-10 13:49:10 +08:00
|
|
|
|
2019-03-06 03:18:02 +08:00
|
|
|
void append_todo_help(unsigned keep_empty, int command_count,
|
|
|
|
const char *shortrevisions, const char *shortonto,
|
2018-08-11 00:51:35 +08:00
|
|
|
struct strbuf *buf);
|
2019-03-06 03:18:03 +08:00
|
|
|
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);
|
2019-01-29 23:01:49 +08:00
|
|
|
int todo_list_check(struct todo_list *old_todo, struct todo_list *new_todo);
|
2018-08-11 00:51:29 +08:00
|
|
|
|
|
|
|
#endif
|