Re: [PATCH 3/4] merge options: add a conflict style member
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 8, 2024, 15:46 UTC
- Message-ID
- <xmqqle6shgkw.fsf@gitster.g>
- In-Reply-To
- <c0d7bafd43823ef9df5a73bc80b90cf003988bc9.1709907271.git.gitgitgadget@gmail.com>
"Phillip Wood via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 7 quoted lines
> diff --git a/merge-ll.c b/merge-ll.c
> index 6570707297d..bf1077ae092 100644
> --- a/merge-ll.c
> +++ b/merge-ll.c
> ..
> -#define LL_MERGE_OPTIONS_INIT {0}
> +#define LL_MERGE_OPTIONS_INIT { .conflict_style = -1 }Makes sense, and this obviously makes the previous step worth doing.
It looks quite wrong that low-level merge options definition is hosted in a file whose name is merge low-level. Is it too late to rename the file to fix this, by the way?
Thanks.