]> git.ipfire.org Git - thirdparty/git.git/commit
merge-ort: store messages in a list, not in a single strbuf
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 18 Jun 2022 00:20:54 +0000 (00:20 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jun 2022 23:10:06 +0000 (16:10 -0700)
commit6debb7527b0e2f791256a216394503899b0488ee
tree58ca4899487c0813d830e6e236d956792c38d75d
parentb520bc6caa35e621396dd69ae4d84314615cf7ac
merge-ort: store messages in a list, not in a single strbuf

To prepare for using the `merge-ort` machinery in server operations, we
cannot simply produce a free-form string that combines a variable-length
list of messages.

Instead, we need to list them one by one. The natural fit for this is a
`string_list`.

We will subsequently add even more information in the `util` attribute
of the string list items.

Based-on-a-patch-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-ort.c
merge-ort.h