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

Re: [PATCH 3/6] Make showdate use "Linus format"

From
Dan Holmsand <holmsand@gmail.com>
Date
Jun 11, 2005, 08:28 UTC
Message-ID
<42AAA0C8.9020102@gmail.com>
In-Reply-To
<20050610225938.GE22111@pasky.ji.cz>
Petr Baudis wrote:
Show 17 quoted lines
> Thanks, applied.
> 
> Dear diary, on Thu, Jun 09, 2005 at 01:19:30PM CEST, I got a letter
> where Dan Holmsand <holmsand@gmail.com> told me that...
> 
>>This makes showdate use the same date format as
>>git-rev-list --pretty, and gives some speedup. It might also
>>be more portable.
> 
> 
> I dropped the format change bit, because I really think the Linus' date
> format is bad. The current standardized, international and most widely
> used (even your mailer agent used it in your Date: header) date format
> is RFC 822, so please let's stick with it. It's perfect for our use, and
> better human-readable too. The date part isn't split all around but
> concentrated in the first half while the second half is dedicated to
> time.

Ok, I really have nothing against RFC822. But if Linus' format is bad, then git-rev-list --pretty should be fixed (or, rather, date.c). It doesn't make any sense to me to have different formats between cogito and core git.

And I'd really, really like to use as much of git-rev-list --pretty output as possible in cg-log. That makes the whole thing some orders of magnitude faster, and thus more usable.

Show 6 quoted lines
>>Note that this changes the calling convention: the previous
>>version used seconds from $1, but timezone from the global
>>variable $date. cg-mkpatch is modified to the new way.
> 
> 
> You forgot to modify cg-log accordingly. (I fixed that.)

Thanks. I did the "hope he takes my other patch too" thing... Sorry 'bout that.

/dan
Previous: Petr Baudis
Message 3 of 3 in “Make showdate use "Linus format"”
  1. 3/6 Make showdate use "Linus format"Dan Holmsand, Jun 9, 2005
  2. Petr BaudisJun 10, 2005
  3. Dan HolmsandJun 11, 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.