@@ -69,9 +69,8 @@ int parse_merge_opt(struct merge_options *opt, const char *s);
69
69
*
70
70
* Outputs:
71
71
* - See RETURN VALUES above
72
- * - No commit is created
73
72
* - opt->repo->index has the new index
74
- * - $GIT_INDEX_FILE is not updated
73
+ * - new index NOT written to disk
75
74
* - The working tree is updated with results of the merge
76
75
*/
77
76
int merge_trees (struct merge_options * opt ,
@@ -81,7 +80,7 @@ int merge_trees(struct merge_options *opt,
81
80
82
81
/*
83
82
* merge_recursive is like merge_trees() but with recursive ancestor
84
- * consolidation and, if the commit is clean, creation of a commit .
83
+ * consolidation.
85
84
*
86
85
* NOTE: empirically, about a decade ago it was determined that with more
87
86
* than two merge bases, optimal behavior was found when the
@@ -91,9 +90,9 @@ int merge_trees(struct merge_options *opt,
91
90
*
92
91
* Outputs:
93
92
* - See RETURN VALUES above
94
- * - If merge is clean, a commit is created and its address written to *result
93
+ * - *result is treated as scratch space for temporary recursive merges
95
94
* - opt->repo->index has the new index
96
- * - $GIT_INDEX_FILE is not updated
95
+ * - new index NOT written to disk
97
96
* - The working tree is updated with results of the merge
98
97
*/
99
98
int merge_recursive (struct merge_options * opt ,
@@ -109,9 +108,9 @@ int merge_recursive(struct merge_options *opt,
109
108
*
110
109
* Outputs:
111
110
* - See RETURN VALUES above
112
- * - If merge is clean, a commit is created and its address written to *result
111
+ * - *result is treated as scratch space for temporary recursive merges
113
112
* - opt->repo->index has the new index
114
- * - $GIT_INDEX_FILE is updated
113
+ * - new index also written to $GIT_INDEX_FILE on disk
115
114
* - The working tree is updated with results of the merge
116
115
*/
117
116
int merge_recursive_generic (struct merge_options * opt ,
0 commit comments