]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/revert.c
Merge branch 'jn/merge-renormalize'
[thirdparty/git.git] / builtin / revert.c
index 5ca81580d37b20e6f65fc8e8d1cdf09228f33ca1..4b47ace36b51566acb5b748f679070f02cbbf568 100644 (file)
@@ -316,6 +316,13 @@ static int do_recursive_merge(struct commit *base, struct commit *next,
        index_fd = hold_locked_index(&index_lock, 1);
 
        read_cache();
+
+       /*
+        * NEEDSWORK: cherry-picking between branches with
+        * different end-of-line normalization is a pain;
+        * plumb in an option to set o.renormalize?
+        * (or better: arbitrary -X options)
+        */
        init_merge_options(&o);
        o.ancestor = base ? base_label : "(empty tree)";
        o.branch1 = "HEAD";