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

Re: pretty placeholders for reflog entries

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 7, 2011, 23:41 UTC
Message-ID
<7v8vnr1oww.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20111107224556.GA28188@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> It would be a little nicer to provide explicit date placeholders, but we
> can't quite make them match the author-date specifiers, because "gd" is
> taken.  We could add %gt, %gr, etc. But in the long run, I'd like to
> move to considering most of %ar, %at, etc to be historical, and have
> something like "%ad(short)" be the official way of picking different
> date formats[1]. And then the reflog placeholders could learn
> "%gt(short)". So making more reflog placeholders right now just feels
> like cluttering a namespace I'd like to get changed eventually.
I tend to agree with the direction.

As we are not adding anything new before the 1.7.8 final, I'd rather ask you to hold onto this and other changes in your footnote, instead of having me to carry them in 'pu', which is an integration branch even less official than it would otherwise be during the freeze period.

Previous: Jeff KingNext: Jeff King
Message 5 of 7 in “pretty placeholders for reflog entries”
  1. Jack NagelNov 7, 2011
  2. Jeff KingNov 7, 2011
  3. Jack NagelNov 7, 2011
  4. Jeff KingNov 7, 2011
  5. Junio C HamanoNov 7, 2011
  6. Jeff KingNov 8, 2011
  7. Jack NagelNov 10, 2011

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.