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

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

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 1, 2008, 23:29 UTC
Message-ID
<7vabmk8dd4.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<96032.15671.qm@web39506.mail.mud.yahoo.com>
Tommy Thorn <tt1729@yahoo.com> writes:
Show 16 quoted lines
> [resent, sorry]
>
> --- Junio C Hamano <gitster@pobox.com> wrote:
>> I think we would very much prefer, instead of
>> piling hacks on top of the originally supported 
>> "minimum set", to introduce a truly extensible 
>> syntax, like:
>
> I concur, but pretty-please make it a super set of 
> date(1) to the extent possible. It will lessen the 
> confusion. 
>
> Maybe something like "%c(%Y-%m-%d %H:%M) ...", eg.
> such
> that if `date +<format>' is legal, so is
> "%c(<format>)".

Please read what you are replying to again. If you said the above with %cT(...), it might have made some sense (but then how are you differentiate between local and original timezone?), but %c(...) needs to show not just the timestamp.

Previous: Tommy ThornNext: Jari Aalto
Message 5 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.