blob: 21ac7ef2f130eb3be46a46618a488df55812ad53 [file] [log] [blame]
Elijah Newren750324d2023-05-16 06:33:54 +00001#ifndef MERGE_H
2#define MERGE_H
3
4struct commit_list;
5struct object_id;
6struct repository;
7
8int try_merge_command(struct repository *r,
9 const char *strategy, size_t xopts_nr,
10 const char **xopts, struct commit_list *common,
11 const char *head_arg, struct commit_list *remotes);
12int checkout_fast_forward(struct repository *r,
13 const struct object_id *from,
14 const struct object_id *to,
15 int overwrite_ignore);
16
17#endif /* MERGE_H */