Re: git send-email sets date

2018-01-30 Thread Junio C Hamano
Theodore Ts'o writes: > If there is a From: header in the beginning of the mail body, it is > used as the Author instead of the From: header in the mail header. It > would make sense if there is a Date: header in the beginning of the > mail body, it should be used instead of

Re: git send-email sets date

2018-01-30 Thread Junio C Hamano
Michal Suchánek writes: > git send-email sets the message date to author date. > > This is wrong because the message will most likely not get delivered > when the author date differs from current time. It might give slightly > better results with commit date instead of author

Re: git send-email sets date

2018-01-29 Thread Eric Wong
Ævar Arnfjörð Bjarmason wrote: > On Fri, Jan 26, 2018 at 6:32 PM, Michal Suchánek wrote: > > This is wrong because the message will most likely not get delivered > > when the author date differs from current time. Even by a few seconds? I guess it depends

Re: git send-email sets date

2018-01-28 Thread Ævar Arnfjörð Bjarmason
On Fri, Jan 26, 2018 at 6:32 PM, Michal Suchánek wrote: > This is wrong because the message will most likely not get delivered > when the author date differs from current time. Others have covered other bases here, but I just wanted to ask about this. Are there really mail

Re: git send-email sets date

2018-01-28 Thread Theodore Ts'o
On Sun, Jan 28, 2018 at 03:56:57PM -, Philip Oakley wrote: > Michal, you may want to hack up an option that can automatically create > that format if it is of use. I sometimes find the sort order an issue in > some of my mail clients. If there is a From: header in the beginning of the mail

RE: git send-email sets date

2018-01-28 Thread Philip Oakley
Behalf Of brian m. carlson > On Fri, Jan 26, 2018 at 06:32:30PM +0100, Michal Suchánek wrote: > > git send-email sets the message date to author date. > > > > This is wrong because the message will most likely not get delivered > > when the author date differs from current time. It might give

Re: git send-email sets date

2018-01-28 Thread brian m. carlson
On Fri, Jan 26, 2018 at 06:32:30PM +0100, Michal Suchánek wrote: > git send-email sets the message date to author date. > > This is wrong because the message will most likely not get delivered > when the author date differs from current time. It might give slightly > better results with commit

git send-email sets date

2018-01-27 Thread Michal Suchánek
Hello, git send-email sets the message date to author date. This is wrong because the message will most likely not get delivered when the author date differs from current time. It might give slightly better results with commit date instead of author date but can't is just skip that header and