]> git.ipfire.org Git - thirdparty/git.git/commit
merge-tree: rename merge_trees() to trivial_merge_trees()
authorElijah Newren <newren@gmail.com>
Sat, 18 Jun 2022 00:20:44 +0000 (00:20 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jun 2022 23:10:05 +0000 (16:10 -0700)
commit70176b70156f02bf4345ee091e664430f58ab32b
treede22bd7e35220733dd22a94c9648250d8127933c
parentf770e9f396d48b567ef7b37d273e91ad570a3522
merge-tree: rename merge_trees() to trivial_merge_trees()

merge-recursive.h defined its own merge_trees() function, different than
the one found in builtin/merge-tree.c.  That was okay in the past, but
we want merge-tree to be able to use the merge-ort functions, which will
end up including merge-recursive.h.  Rename the function found in
builtin/merge-tree.c to avoid the conflict.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/merge-tree.c