]> git.ipfire.org Git - thirdparty/git.git/commit
merge-ort: loosen commented requirements
authorElijah Newren <newren@gmail.com>
Wed, 19 Jun 2024 03:00:17 +0000 (03:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2024 17:35:25 +0000 (10:35 -0700)
commitc55c3f20b1eec1bb4b23f51488cc5f3ac224bc64
tree84b9d6ef47b58830e99ae52d2e1d16c07b51b081
parent5fadf1f93371204b82a02a30315f655a293aa7f5
merge-ort: loosen commented requirements

The comment above type_short_descriptions claimed that the order had to
match what was found in the conflict_info_and_types enum.  Since
type_short_descriptions uses designated initializers, the order should
not actually matter; I am guessing that positional initializers may have
been under consideration when that comment was added, but the comment
was not updated when designated initializers were chosen.

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