start_command: detect execvp failures early
[gitweb.git] / merge-recursive.h
index be84d9bb32d4bf9e39e7bf2cf42f17383cb8fc5c..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;
@@ -11,8 +13,13 @@ struct merge_options {
        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,