From: Greg KH <gregkh@linuxfoundation.org>
To: Paul Menzel <pmenzel@molgen.mpg.de>
Cc: Mathias Nyman <mathias.nyman@intel.com>, linux-usb@vger.kernel.org
Subject: Re: Changed commit author date of queued commits
Date: Thu, 2 Jan 2020 15:43:08 +0100 [thread overview]
Message-ID: <20200102144308.GA4022303@kroah.com> (raw)
In-Reply-To: <25813021-f136-fb30-71da-c2ff522141b1@molgen.mpg.de>
On Thu, Jan 02, 2020 at 03:36:07PM +0100, Paul Menzel wrote:
> Dear Greg,
>
>
> On 2020-01-02 15:22, Greg KH wrote:
> > On Thu, Jan 02, 2020 at 03:15:04PM +0100, Paul Menzel wrote:
>
> >> Looking at [1] and [2], the commit author timestamps differ. Mika’s commit
> >> in Patchwork is from Nov. 13, 2019, 5:32 p.m. UTC, and you committed it the
> >> day after.
> >>
> >> But, the date of the commit you sent is Wed, 11 Dec 2019 16:20:02 +0200 [2].
> >>
> >> Is that expected? Should the tag(?) be added in all “forwarded” commits
> >> to the list?
> >
> > What "tag" would that be?
> >
> > Mathias sent the patches to me through email, and then I applied them to
> > my tree. The authorship timestamp ends up being that final email.
> >
> > Nothing new here, this is how things have always worked :)
>
> If you add
>
> Date: Thu Jan 2 13:16:21 2020 +0100
>
> in the beginning of the message body, `git am` will take that as author date
> instead of the date in the email header.
>
> `git help am` does not state that, but `git help format-patch` and the
> format it creates shows that this is how it works, and I just tested this,
> and it works this way.
So how would one export the patches from git, and pass them to 'git
send-email' in a way that would preserve this tag?
But step back here, why is this an issue at all?
thanks,
greg k-h
prev parent reply other threads:[~2020-01-02 14:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-02 14:15 Changed commit author date of queued commits Paul Menzel
2020-01-02 14:22 ` Greg KH
2020-01-02 14:36 ` Paul Menzel
2020-01-02 14:43 ` Greg KH [this message]
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=20200102144308.GA4022303@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=pmenzel@molgen.mpg.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox