add "test-absolute-path" to .gitignore
[git/haiku.git] / unpack-trees.h
blobfee7da43822b63e5b1f24444e5c51c43d3ff5760
1 #ifndef UNPACK_TREES_H
2 #define UNPACK_TREES_H
4 struct unpack_trees_options;
6 typedef int (*merge_fn_t)(struct cache_entry **src,
7 struct unpack_trees_options *options);
9 struct unpack_trees_options {
10 int reset;
11 int merge;
12 int update;
13 int index_only;
14 int nontrivial_merge;
15 int trivial_merges_only;
16 int verbose_update;
17 int aggressive;
18 const char *prefix;
19 int pos;
20 struct dir_struct *dir;
21 merge_fn_t fn;
23 int head_idx;
24 int merge_size;
26 struct cache_entry *df_conflict_entry;
29 extern int unpack_trees(struct object_list *trees,
30 struct unpack_trees_options *options);
32 int threeway_merge(struct cache_entry **stages, struct unpack_trees_options *o);
33 int twoway_merge(struct cache_entry **src, struct unpack_trees_options *o);
34 int bind_merge(struct cache_entry **src, struct unpack_trees_options *o);
35 int oneway_merge(struct cache_entry **src, struct unpack_trees_options *o);
37 #endif