| #define MAX_UNPACK_TREES 8 |
| struct unpack_trees_options; |
| typedef int (*merge_fn_t)(struct cache_entry **src, |
| struct unpack_trees_options *options); |
| struct unpack_trees_options { |
| struct cache_entry *df_conflict_entry; |
| struct index_state *dst_index; |
| const struct index_state *src_index; |
| struct index_state result; |
| extern int unpack_trees(unsigned n, struct tree_desc *t, |
| struct unpack_trees_options *options); |
| int threeway_merge(struct cache_entry **stages, struct unpack_trees_options *o); |
| int twoway_merge(struct cache_entry **src, struct unpack_trees_options *o); |
| int bind_merge(struct cache_entry **src, struct unpack_trees_options *o); |
| int oneway_merge(struct cache_entry **src, struct unpack_trees_options *o); |