summaryrefslogtreecommitdiff
path: root/rebase-interactive.h
blob: 4af0c1fcc702ed74ecf60d31a71eeb6154c108f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef REBASE_INTERACTIVE_H
#define REBASE_INTERACTIVE_H
 
struct strbuf;
struct repository;
struct todo_list;
 
void append_todo_help(unsigned keep_empty, int command_count,
		      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);
 
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