All of lore.kernel.org
 help / color / mirror / Atom feed
* Changed commit author date of queued commits
@ 2020-01-02 14:15 Paul Menzel
  2020-01-02 14:22 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Menzel @ 2020-01-02 14:15 UTC (permalink / raw)
  To: Mathias Nyman; +Cc: linux-usb

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

Dear Mathias,


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?


Kind regards,

Paul


[1]: https://patchwork.kernel.org/patch/11242383/
[2]: https://lore.kernel.org/linux-usb/20191211142007.8847-2-mathias.nyman@linux.intel.com/


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Changed commit author date of queued commits
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2020-01-02 14:22 UTC (permalink / raw)
  To: Paul Menzel; +Cc: Mathias Nyman, linux-usb

On Thu, Jan 02, 2020 at 03:15:04PM +0100, Paul Menzel wrote:
> Dear Mathias,
> 
> 
> 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 :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Changed commit author date of queued commits
  2020-01-02 14:22 ` Greg KH
@ 2020-01-02 14:36   ` Paul Menzel
  2020-01-02 14:43     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Menzel @ 2020-01-02 14:36 UTC (permalink / raw)
  To: Greg KH; +Cc: Mathias Nyman, linux-usb

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

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.


Kind regards,

Paul


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Changed commit author date of queued commits
  2020-01-02 14:36   ` Paul Menzel
@ 2020-01-02 14:43     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2020-01-02 14:43 UTC (permalink / raw)
  To: Paul Menzel; +Cc: Mathias Nyman, linux-usb

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-02 14:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.