4 struct unpack_trees_options
;
6 typedef int (*merge_fn_t
)(struct cache_entry
**src
,
7 struct unpack_trees_options
*options
,
10 struct unpack_trees_options
{
16 int trivial_merges_only
;
23 struct dir_struct
*dir
;
29 struct cache_entry
*df_conflict_entry
;
33 extern int unpack_trees(unsigned n
, struct tree_desc
*t
,
34 struct unpack_trees_options
*options
);
36 int threeway_merge(struct cache_entry
**stages
, struct unpack_trees_options
*o
, int);
37 int twoway_merge(struct cache_entry
**src
, struct unpack_trees_options
*o
, int);
38 int bind_merge(struct cache_entry
**src
, struct unpack_trees_options
*o
, int);
39 int oneway_merge(struct cache_entry
**src
, struct unpack_trees_options
*o
, int);