mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
21 lines
443 B
C
21 lines
443 B
C
|
#ifndef MERGE_RECURSIVE_H
|
||
|
#define MERGE_RECURSIVE_H
|
||
|
|
||
|
int merge_recursive(struct commit *h1,
|
||
|
struct commit *h2,
|
||
|
const char *branch1,
|
||
|
const char *branch2,
|
||
|
struct commit_list *ancestors,
|
||
|
struct commit **result);
|
||
|
|
||
|
int merge_trees(struct tree *head,
|
||
|
struct tree *merge,
|
||
|
struct tree *common,
|
||
|
const char *branch1,
|
||
|
const char *branch2,
|
||
|
struct tree **result);
|
||
|
|
||
|
struct tree *write_tree_from_memory(void);
|
||
|
|
||
|
#endif
|