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

Re: `format:%>` padding and `git log --graph`

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 22, 2015, 16:08 UTC
Message-ID
<xmqqlh8mea99.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20151222113309.GA8804@lanh>
Duy Nguyen <pclouds@gmail.com> writes:
Show 6 quoted lines
> On Sun, Dec 20, 2015 at 10:41:44AM -0600, Elliott Cable wrote:
>> I'm not sure what version the `%>` / `<|` / etc padding showed up in,
>> but they're truly excellent for building beautiful one-line `git log`
>> output.
>
> Somebody found my code useful!! :-D
Is this related to
    http://thread.gmane.org/gmane.comp.version-control.git/277710/focus=278326

in any way? My gut feeling is that, while the original patch itself breaks existing uses and is not acceptable as-is, its idea is good, and we are OK with a change like that if it added a new/different kind of %>|(N) that makes the new behaviour available to those who want to use it, without negatively affecting existing uses.

Previous: Duy Nguyen
Message 3 of 3 in “`format:%>` padding and `git log --graph`”
  1. Elliott CableDec 20, 2015
  2. Duy NguyenDec 22, 2015
  3. Junio C HamanoDec 22, 2015

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.