git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git send-email sets date

From
Theodore Ts'o <tytso@mit.edu>
Date
Jan 28, 2018, 22:12 UTC
Message-ID
<20180128221231.GB13621@thunk.org>
In-Reply-To
<001601d39850$a0a48ae0$e1eda0a0$@iee.org>
On Sun, Jan 28, 2018 at 03:56:57PM -0000, 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 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 Date: field in the mail header.

The problem is that if existing git clients don't support this, it wouldn't be safe to start emmiting patches with that format for at least a year or two until the prerequisite version of git gets wide adoption. Alternatively, there could be a git option which causes something like X-Git-Author-Date: to be set in the mail header.

	       			  	   	- Ted
Previous: Philip OakleyNext: Junio C Hamano
Message 4 of 8 in “git send-email sets date”
  1. Michal SuchánekJan 26, 2018
  2. brian m. carlsonJan 28, 2018
  3. Philip OakleyJan 28, 2018
  4. Theodore Ts'oJan 28, 2018
  5. Junio C HamanoJan 30, 2018
  6. Ævar Arnfjörð BjarmasonJan 28, 2018
  7. Eric WongJan 29, 2018
  8. Junio C HamanoJan 30, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.