summaryrefslogtreecommitdiff
path: root/include/git2/merge.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/merge.h')
-rw-r--r--include/git2/merge.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/git2/merge.h b/include/git2/merge.h
index 560797a0c..c6f6cba6c 100644
--- a/include/git2/merge.h
+++ b/include/git2/merge.h
@@ -273,7 +273,16 @@ typedef struct {
*/
unsigned int recursion_limit;
- /** Flags for handling conflicting content. */
+ /**
+ * Default merge driver to be used when both sides of a merge have
+ * changed. The default is the `text` driver.
+ */
+ const char *default_driver;
+
+ /**
+ * Flags for handling conflicting content, to be used with the standard
+ * (`text`) merge driver.
+ */
git_merge_file_favor_t file_favor;
/** see `git_merge_file_flag_t` above */