git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / merge.h
| 1 | #ifndef MERGE_H |
| 2 | #define MERGE_H |
| 3 | |
| 4 | struct commit_list; |
| 5 | struct object_id; |
| 6 | struct repository; |
| 7 | |
| 8 | int 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); |
| 12 | int checkout_fast_forward(struct repository *r, |
| 13 | const struct object_id *from, |
| 14 | const struct object_id *to, |
| 15 | int overwrite_ignore); |
| 16 | int write_merge_labels(struct repository *r, const char *labels[3]); |
| 17 | int read_merge_labels(struct repository *r, |
| 18 | char **base, char **ours, char **theirs); |
| 19 | |
| 20 | #endif /* MERGE_H */ |