Re: [PATCH v3 1/3] diff-merges: improve --diff-merges documentation
- From
Sergey Organov <sorganov@gmail.com>
- Date
- Oct 6, 2023, 17:18 UTC
- Message-ID
- <87mswvr7oo.fsf@osv.gnss.ru>
- In-Reply-To
- <xmqq34yog3ux.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> Sergey Organov <sorganov@gmail.com> writes:
[...]
Show 15 quoted lines
>> --no-diff-merges::
>> + Synonym for '--diff-merges=off'.
>> +
>> +--diff-merges=<format>::
>> Specify diff format to be used for merge commits. Default is
>> - {diff-merges-default} unless `--first-parent` is in use, in which case
>> - `first-parent` is the default.
>> + {diff-merges-default} unless `--first-parent` is in use, in
>> + which case `first-parent` is the default.
>
> This reads well.
>
> In the longer term, "--diff-merge=first-parent" that is used without
> first-parent traversal should be discouraged and be deprecated, I
> think, but that is a separate story [*].I fail to see why useful harmless feature is to be deprecated. I believe users are pretty capable to decide if they need it by themselves, without our guidance.
Thanks, -- Sergey Organov