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

Re: [PATCH 0/3] pretty: format aliases

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Apr 25, 2010, 22:09 UTC
Message-ID
<20100425220955.GA25620@progeny.tock>
In-Reply-To
<20100425194800.GB14736@coredump.intra.peff.net>
Jeff King wrote:
> The config variables format.* are traditionally about format-patch. I
> see we have format.pretty these days, too.

Yes, it as added in commit v1.5.5-rc0~57^2 (log/show/whatchanged: introduce format.pretty configuration, 2008-03-02):

    When running log/show/whatchanged from the command line, the user may want
    to use a preferred format without having to pass --pretty=<fmt> option
    every time from the command line.  This teaches these three commands to
    honor a new configuration variable, format.pretty.
    The --pretty option given from the command line will override the 
    configured format.

I use it to mess with line wrapping; that it’s possible is very nice. Thanks, Renquan.

Jonathan
Previous: Will PalmerNext: Jeff King
Message 8 of 16 in “pretty: format aliases”
  1. 0/3 pretty: format aliasesWill Palmer, Apr 25, 2010
  2. 1/3 pretty: add conditional %C?colorname placeholdersWill Palmer, Apr 25, 2010
  3. Alex RiesenApr 26, 2010
  4. 2/3 pretty: make %H/%h dependent on --abbrev[-commit]Will Palmer, Apr 25, 2010
  5. 3/3 pretty: add aliases for pretty formatsWill Palmer, Apr 25, 2010
  6. Jeff KingApr 25, 2010
  7. Will PalmerApr 25, 2010
  8. Jonathan NiederApr 25, 2010
  9. Jeff KingApr 26, 2010
  10. Jonathan NiederApr 26, 2010
  11. Jeff KingApr 26, 2010
  12. Jonathan NiederApr 26, 2010
  13. Will PalmerApr 26, 2010
  14. Jonathan NiederApr 26, 2010
  15. Jeff KingApr 27, 2010
  16. Will PalmerApr 26, 2010

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.