Staging
v0.5.1
Revision 274b9cc25322d9ee79aa8e6d4e86f0ffe5ced925 authored by Junio C Hamano on 22 March 2020, 23:50:46 UTC, committed by Junio C Hamano on 22 March 2020, 23:50:46 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 55a7568
Raw File
rebase-interactive.h
#ifndef REBASE_INTERACTIVE_H
#define REBASE_INTERACTIVE_H

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(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
back to top