start_command: detect execvp failures early
[gitweb.git] / merge-recursive.h
index 4f5537417e3b290544138edaec9c32469c19e477..d8bc7299ee3a70484b2436afd3799fe6f7608422 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef MERGE_RECURSIVE_H
 #define MERGE_RECURSIVE_H
 
+#include "string-list.h"
+
 struct merge_options {
        const char *branch1;
        const char *branch2;
@@ -10,8 +12,14 @@ struct merge_options {
        int diff_rename_limit;
        int merge_rename_limit;
        int call_depth;
+       struct strbuf obuf;
+       struct string_list current_file_set;
+       struct string_list current_directory_set;
 };
 
+/* Return a list of user-friendly error messages to be used by merge */
+struct unpack_trees_error_msgs get_porcelain_error_msgs(void);
+
 /* merge_trees() but with recursive ancestor consolidation */
 int merge_recursive(struct merge_options *o,
                    struct commit *h1,