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

Re: Parseable commit header

From
David A. Wheeler <dwheeler@dwheeler.com>
Date
Apr 17, 2005, 16:49 UTC
Message-ID
<42629394.1090804@dwheeler.com>
In-Reply-To
<20050417062236.GA3261@scotty.home>
Stefan-W. Hahn wrote:
Show 5 quoted lines
> Hi,
> 
> after playing a while with git-pasky it is a crap to interpret the date of
> commit logs. Though it was a good idea to put the date in a parseable format
> (seconds since), but the format of the commit itself is not good parseable.
> Should be:
...
> Committer-Dater: 1113684324 +0200
I'm probably coming in late to the game, but exactly
why is seconds-since-epoch format used instead of a format
more easily understood by humans?  Yes, I know tools
can easily convert that, but you're already using an ASCII format;
why not just record it in a format that's easily eyeballed like ISO's
yyyymmddThhmmss [timezone]? E.G.:
  20050417T171520 +0200
or some such?  I'm SURE that people will mention things
like "the patch I posted on April 17, 2005", and having the
patch format record times that way, directly, would be convenient
to the poor slobs^H^H^H^H^H developers who come later.
Yes, a tool can handle the conversion, but choosing formats
so a tool is unneeded for simple stuff is often better....!
--- David A. Wheeler
Previous: Linus Torvalds
Message 3 of 3 in “Parseable commit header”
  1. Stefan-W. HahnApr 17, 2005
  2. Linus TorvaldsApr 17, 2005
  3. David A. WheelerApr 17, 2005

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.