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

Re: pretty placeholders for reflog entries

From
Jeff King <peff@peff.net>
Date
Nov 8, 2011, 05:47 UTC
Message-ID
<20111108054745.GD29643@sigill.intra.peff.net>
In-Reply-To
<7v8vnr1oww.fsf@alter.siamese.dyndns.org>
On Mon, Nov 07, 2011 at 03:41:19PM -0800, Junio C Hamano wrote:
Show 17 quoted lines
> Jeff King <peff@peff.net> writes:
> 
> > 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.

Sure. I'll re-send the patch once the release is out. That will also give Jack and any other interested parties time to comment and test.

-Peff
Previous: Junio C HamanoNext: Jack Nagel
Message 6 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.