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

Re: [PATCH] --format=pretty: new modifiers cID, cIS, CIY

From
Jari Aalto <jari.aalto@cante.net>
Date
Feb 2, 2008, 01:15 UTC
Message-ID
<7iho6tvp.fsf@blue.sea.net>
In-Reply-To
<7vir188ej4.fsf@gitster.siamese.dyndns.org>
* Fri 2008-02-01 Junio C Hamano <gitster@pobox.com>
> But I do not like the idea of adding more short-hand format this
> way.

I'd welcome if this mimimum set of ISO date handling woudl be included, because I feel they address the needs more versatily than the current %ci, which is too long with down to TZ.

I find it that the YYY-MM-DD HH:MM meets the needs 99% of the case, like in ls(1) listing when the LC_* is properly configured.

[extensible syntax]
> 	%c(name|initial) %c(time|local,HH:MM) %c(time|gmt,HH) <%c(email)>

This would be good. In the mean time, when we wait for this feature to surface, the current patch would address immediate needs.

Jari
-- 
Welcome to FOSS revolution: we fix and modify until it shines
Previous: Jari Aalto
Message 7 of 7 in “--format=pretty: new modifiers cID, cIS, CIY”
  1. --format=pretty: new modifiers cID, cIS, CIYJari Aalto, Feb 1, 2008
  2. --format=pretty: new modifiers cID, cIM, CISJari Aalto, Feb 1, 2008
  3. Junio C HamanoFeb 1, 2008
  4. Tommy ThornFeb 1, 2008
  5. Junio C HamanoFeb 1, 2008
  6. --format=pretty: new modifiers cID, cIS, CIYJari Aalto, Feb 2, 2008
  7. Jari AaltoFeb 2, 2008

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.