]> git.ipfire.org Git - thirdparty/git.git/commit
merge-ort: split out a separate display_update_messages() function
authorElijah Newren <newren@gmail.com>
Sat, 18 Jun 2022 00:20:48 +0000 (00:20 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jun 2022 23:10:06 +0000 (16:10 -0700)
commita34edae68a26f8f97f6ba69f408abbd3480ed90c
tree44483bd6942a9a5a8e3c0b06b80154fb432add2e
parent1f0c3a29da3515d88537902cd267cc726020eea5
merge-ort: split out a separate display_update_messages() function

This patch includes no new code; it simply moves a bunch of lines into a
new function.  As such, there are no functional changes.  This is just a
preparatory step to allow the printed messages to be handled differently
by other callers, such as in `git merge-tree --write-tree`.

(Patch best viewed with
     --color-moved --color-moved-ws=allow-indentation-change
 to see that it is a simple code movement.)

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