Re: Changed commit author date of queued commits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux