Re: [PATCH v2 0/7] making log --first-parent imply -m
- From
Sergey Organov <sorganov@gmail.com>
- Date
- Aug 4, 2020, 21:44 UTC
- Message-ID
- <87tuxixezy.fsf@osv.gnss.ru>
- In-Reply-To
- <xmqq7duerti9.fsf@gitster.c.googlers.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 18 quoted lines
> Sergey Organov <sorganov@gmail.com> writes:
>
>> Jeff King <peff@peff.net> writes:
>>
>>>> + } else if ((argcount = parse_long_opt("diff-merges", argv, &optarg))) {
>>>> revs->ignore_merges = 0;
>>>> + if (!strcmp(optarg, "off")) {
>>>> + revs->ignore_merges = 1;
>>>> + } else if (!strcmp(optarg, "all")) {
>>>> + revs->diff = 0;
>>>
>>> Should this be revs->ignore_merges = 0?
>>
>> It's 4 lines above, as it's in fact common for all the cases but the
>> first one.
>
> I may be mistaken, but I thought Peff was asking about turning
> revs->diff off.No, but this one was in his follow-up that I already answered a few minutes ago.
Show 6 quoted lines
> I somehow thought that the equivalence planned for > the short term is: > > (new) (peff's) (master) > diff-merges=none == --no-diff-merges == ! -m > diff-merges=all == --diff-merges == -m
The second one is somewhat problematic, so I excluded it for now (see aforementioned answer for more discussion).
Thanks, -- Sergey