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

Re: [PATCH] pretty-format: add append line-feed format specifier

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 12, 2014, 16:36 UTC
Message-ID
<xmqqtx4cbxsn.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140912044901.GC15519@peff.net>
Jeff King <peff@peff.net> writes:
> I dunno. I wrote that original set of lua pretty-format patches to try
> to stop the insanity once and for all. But I realized that I do not
> actually want to do anything complicated with the output formats, and
> "--oneline" and a few simple "--format" calls usually are enough.

Yeah, I share that exactly, and %+ and friends are meant to be on this side of the line between "a few simple" and "complicated". I was not sure which side %if() falls myself, and while I still am not sure, if I were asked to decide which today, I would probably say it is on the "simple" side.

Previous: Jeff King
Message 10 of 10 in “pretty-format: add append line-feed format specifier”
  1. pretty-format: add append line-feed format specifierHarry Jeffery, Sep 9, 2014
  2. Junio C HamanoSep 9, 2014
  3. Harry JefferySep 9, 2014
  4. Junio C HamanoSep 9, 2014
  5. Jeff KingSep 9, 2014
  6. Harry JefferySep 9, 2014
  7. Jeff KingSep 9, 2014
  8. Junio C HamanoSep 10, 2014
  9. Jeff KingSep 12, 2014
  10. Junio C HamanoSep 12, 2014

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.