]> git.ipfire.org Git - thirdparty/git.git/blobdiff - merge-ort.c
merge-ll: introduce LL_MERGE_OPTIONS_INIT
[thirdparty/git.git] / merge-ort.c
index d72fd04f581fbb99732d1e5c7b48a1d4ae83efc0..4a02c3ecd99590134605abba223b2f528dfd54ff 100644 (file)
@@ -1956,7 +1956,7 @@ static int merge_3way(struct merge_options *opt,
                      mmbuffer_t *result_buf)
 {
        mmfile_t orig, src1, src2;
-       struct ll_merge_options ll_opts = {0};
+       struct ll_merge_options ll_opts = LL_MERGE_OPTIONS_INIT;
        char *base, *name1, *name2;
        enum ll_merge_result merge_status;
 
@@ -2642,7 +2642,7 @@ static void apply_directory_rename_modifications(struct merge_options *opt,
                        oidcpy(&ci->stages[i].oid, null_oid());
                }
 
-               // Now we want to focus on new_ci, so reassign ci to it
+               /* Now we want to focus on new_ci, so reassign ci to it. */
                ci = new_ci;
        }