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

Re: git-format-patch little gripe

From
Linus Torvalds <torvalds@osdl.org>
Date
Nov 4, 2006, 00:44 UTC
Message-ID
<Pine.LNX.4.64.0611031640140.25218@g5.osdl.org>
In-Reply-To
<eigjql$ql$2@sea.gmane.org>
On Sat, 4 Nov 2006, Jakub Narebski wrote:
>
> YAUO, Yet Another Undocumented Option. ::sigh::

The "--pretty=xxx" is certainly not new, and it's not even totally undocumented. It's mentioned in several of the examples in various forms.

All the logging commands take the "pretty" argument.
Try
	git log --pretty={oneline,short,medium,full,fuller,raw}
(and the same things work for "git whatchanged" and "git show" etc)
Previous: Jakub NarebskiNext: Jakub Narebski
Message 12 of 13 in “Re: git-format-patch little gripe”
  1. Martin LanghoffNov 3, 2006
  2. Luben TuikovNov 3, 2006
  3. Junio C HamanoNov 3, 2006
  4. Carl WorthNov 3, 2006
  5. Jakub NarebskiNov 3, 2006
  6. Luben TuikovNov 3, 2006
  7. Jakub NarebskiNov 3, 2006
  8. Junio C HamanoNov 3, 2006
  9. Carl WorthNov 3, 2006
  10. Jeff KingNov 3, 2006
  11. Jakub NarebskiNov 3, 2006
  12. Linus TorvaldsNov 4, 2006
  13. Jakub NarebskiNov 4, 2006

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.