mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
b520bc6caa
commit
6debb7527b
@@ -28,7 +28,7 @@ struct merge_result {
|
||||
/*
|
||||
* Special messages and conflict notices for various paths
|
||||
*
|
||||
* This is a map of pathnames to strbufs. It contains various
|
||||
* This is a map of pathnames to strbufs. It contains various
|
||||
* warning/conflict/notice messages (possibly multiple per path)
|
||||
* that callers may want to use.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user