2020-01-12 00:36:56 +01:00
|
|
|
#ifndef REBASE_INTERACTIVE_H
|
|
|
|
#define REBASE_INTERACTIVE_H
|
|
|
|
|
|
|
|
struct strbuf;
|
|
|
|
struct repository;
|
|
|
|
struct todo_list;
|
|
|
|
|
2020-11-21 19:20:35 +01:00
|
|
|
void append_todo_help(int command_count,
|
2020-01-12 00:36:56 +01:00
|
|
|
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);
|
2020-11-21 19:20:35 +01:00
|
|
|
|
2020-01-12 00:36:56 +01:00
|
|
|
int todo_list_check(struct todo_list *old_todo, struct todo_list *new_todo);
|
2020-11-21 19:20:35 +01:00
|
|
|
int todo_list_check_against_backup(struct repository *r,
|
|
|
|
struct todo_list *todo_list);
|
|
|
|
|
|
|
|
int check_todo_list_from_file(struct repository *r);
|
2020-01-12 00:36:56 +01:00
|
|
|
|
|
|
|
#endif
|