rebase -i: pass struct replay_opts to parse_insn_line()
This new parameter will be used in the next commit. As adding the parameter requires quite a few changes to plumb it through the call chain these are separated into their own commit to avoid cluttering up the next commit with incidental changes. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
19981daefd
commit
0c26738aa4
@ -137,8 +137,8 @@ struct todo_list {
|
||||
.buf = STRBUF_INIT, \
|
||||
}
|
||||
|
||||
int todo_list_parse_insn_buffer(struct repository *r, char *buf,
|
||||
struct todo_list *todo_list);
|
||||
int todo_list_parse_insn_buffer(struct repository *r, struct replay_opts *opts,
|
||||
char *buf, struct todo_list *todo_list);
|
||||
int todo_list_write_to_file(struct repository *r, struct todo_list *todo_list,
|
||||
const char *file, const char *shortrevisions,
|
||||
const char *shortonto, int num, unsigned flags);
|
||||
|
Reference in New Issue
Block a user