All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux ARM Kernel Mailing List
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [GIT PULL] arm64: Fixes for -rc4
Date: Mon, 21 Oct 2019 08:46:58 +0200	[thread overview]
Message-ID: <20191021064658.GB22042@gmail.com> (raw)
In-Reply-To: <CAHk-=whmtB98b8=YL2b8HzPKRadk2A9pL0aasmvgebhePrDP9w@mail.gmail.com>


* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> What you doing the merge does is to turn the multiple merge bases into
> just one point: the thing you merged against now becomes the common
> merge point, and now you have a "two endpoints" for the diffstat: the
> thing you merged against, and your end result are now the two points
> that you can diff against.
> 
> But the shortlog is always correct, because it just doesn't even care
> about that whole issue.

FWIW I regularly ran into this problem too and resolved it manually by 
'emulating' your merge. (Once every 20-30 pull requests or so. Finally 
ended up scripting around request-pull altogether.)

I think at least once I ran into that and sent you a 'slightly wrong' 
diffstat - and maybe there's also been a few cases where you noticed 
diffstats that didn't match your merge result, double checked it yourself 
and didn't complain about it because you knew that this is a "git 
request-pull" artifact?

Most of the time I notice it like Will did because the diffstat is 
obviously weird and it's good to check pull requests a second (and a 
third :-) time as well, but it's possible to have relatively small 
distances between the merge bases where the diffstat doesn't look 
'obviously' bogus and mistakes can slip through.

Anyway, a small Git feature request: it would be super useful if "git 
request-pull" output was a bit more dependable and at least warned about 
this and didn't include what is, from the viewpoint of the person doing 
the merge, a bogus diffstat. (Generating the correct diffstat is probably 
beyond request-pull's abilities: it would require changing the working 
tree to actually perform the merge - while request-pull is a read-only 
operation right now. But detecting the condition and warning about it 
should be possible?)

Thanks,

	Ingo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Ingo Molnar <mingo@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Will Deacon <will@kernel.org>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux ARM Kernel Mailing List 
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [GIT PULL] arm64: Fixes for -rc4
Date: Mon, 21 Oct 2019 08:46:58 +0200	[thread overview]
Message-ID: <20191021064658.GB22042@gmail.com> (raw)
In-Reply-To: <CAHk-=whmtB98b8=YL2b8HzPKRadk2A9pL0aasmvgebhePrDP9w@mail.gmail.com>


* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> What you doing the merge does is to turn the multiple merge bases into
> just one point: the thing you merged against now becomes the common
> merge point, and now you have a "two endpoints" for the diffstat: the
> thing you merged against, and your end result are now the two points
> that you can diff against.
> 
> But the shortlog is always correct, because it just doesn't even care
> about that whole issue.

FWIW I regularly ran into this problem too and resolved it manually by 
'emulating' your merge. (Once every 20-30 pull requests or so. Finally 
ended up scripting around request-pull altogether.)

I think at least once I ran into that and sent you a 'slightly wrong' 
diffstat - and maybe there's also been a few cases where you noticed 
diffstats that didn't match your merge result, double checked it yourself 
and didn't complain about it because you knew that this is a "git 
request-pull" artifact?

Most of the time I notice it like Will did because the diffstat is 
obviously weird and it's good to check pull requests a second (and a 
third :-) time as well, but it's possible to have relatively small 
distances between the merge bases where the diffstat doesn't look 
'obviously' bogus and mistakes can slip through.

Anyway, a small Git feature request: it would be super useful if "git 
request-pull" output was a bit more dependable and at least warned about 
this and didn't include what is, from the viewpoint of the person doing 
the merge, a bogus diffstat. (Generating the correct diffstat is probably 
beyond request-pull's abilities: it would require changing the working 
tree to actually perform the merge - while request-pull is a read-only 
operation right now. But detecting the condition and warning about it 
should be possible?)

Thanks,

	Ingo

  reply	other threads:[~2019-10-21  6:47 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 23:43 [GIT PULL] arm64: Fixes for -rc4 Will Deacon
2019-10-17 23:43 ` Will Deacon
2019-10-18  0:06 ` Linus Torvalds
2019-10-18  0:06   ` Linus Torvalds
2019-10-18 17:41   ` Will Deacon
2019-10-18 17:41     ` Will Deacon
2019-10-18 19:17     ` Linus Torvalds
2019-10-18 19:17       ` Linus Torvalds
2019-10-21  6:46       ` Ingo Molnar [this message]
2019-10-21  6:46         ` Ingo Molnar
2019-10-21 11:45         ` Linus Torvalds
2019-10-21 11:45           ` Linus Torvalds
2019-10-22  8:16         ` Uwe Kleine-König
2019-10-22  8:16           ` Uwe Kleine-König
2019-10-18  0:15 ` pr-tracker-bot
2019-10-18  0:15   ` pr-tracker-bot
2019-10-18 20:09 ` Jayachandran Chandrasekharan Nair
2019-10-18 20:09   ` Jayachandran Chandrasekharan Nair
  -- strict thread matches above, loose matches on Subject: below --
2024-10-17 15:34 [GIT PULL] arm64 fixes " Will Deacon
2024-10-17 17:34 ` pr-tracker-bot
2023-01-13 10:29 Will Deacon
2023-01-13 10:29 ` Will Deacon
2023-01-13 13:58 ` pr-tracker-bot
2023-01-13 13:58   ` pr-tracker-bot
2022-09-02 11:12 Will Deacon
2022-09-02 11:12 ` Will Deacon
2022-09-02 18:30 ` pr-tracker-bot
2022-09-02 18:30   ` pr-tracker-bot
2022-04-22 11:20 Will Deacon
2022-04-22 11:20 ` Will Deacon
2022-04-22 21:19 ` pr-tracker-bot
2022-04-22 21:19   ` pr-tracker-bot
2021-12-03 13:19 Will Deacon
2021-12-03 13:19 ` Will Deacon
2021-12-03 18:53 ` pr-tracker-bot
2021-12-03 18:53   ` pr-tracker-bot
2020-11-13 12:39 GIT " Will Deacon
2020-11-13 12:44 ` [GIT " Will Deacon
2020-11-13 12:44   ` Will Deacon
2020-11-13 17:25   ` Linus Torvalds
2020-11-13 17:25     ` Linus Torvalds
2020-07-04 13:05 Will Deacon
2020-07-04 13:05 ` Will Deacon
2020-07-05 17:35 ` pr-tracker-bot
2020-07-05 17:35   ` pr-tracker-bot
2019-06-07 15:13 [GIT PULL] arm64: " Will Deacon
2019-06-07 15:13 ` Will Deacon
2019-06-07 16:45 ` pr-tracker-bot
2019-06-07 16:45   ` pr-tracker-bot
2019-04-05 17:17 [GIT PULL] arm64 " Catalin Marinas
2019-04-05 17:17 ` Catalin Marinas
2019-04-05 23:50 ` pr-tracker-bot
2019-04-05 23:50   ` pr-tracker-bot
2018-09-14 16:19 [GIT PULL] arm64: " Will Deacon
2018-09-14 16:19 ` Will Deacon
2017-12-15 18:31 Will Deacon
2017-12-15 18:31 ` Will Deacon
2017-08-04 18:32 Will Deacon
2017-08-04 18:32 ` Will Deacon
2016-06-17 17:07 Will Deacon
2016-06-17 17:07 ` Will Deacon
2015-05-14 15:48 Will Deacon
2015-05-14 15:48 ` Will Deacon
2015-01-09 15:22 Will Deacon
2015-01-09 15:22 ` Will Deacon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191021064658.GB22042@gmail.com \
    --to=mingo@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.