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

Re: [RFC/PATCH] revision.c: add --format option for 'git log'

From
Wincent Colaiuta <win@wincent.com>
Date
Feb 23, 2009, 09:55 UTC
Message-ID
<4F48B127-49B0-4592-BE6F-04A46D061030@wincent.com>
In-Reply-To
<alpine.LFD.2.00.0902221225080.3111@localhost.localdomain>
El 22/2/2009, a las 21:34, Linus Torvalds escribió:
Show 10 quoted lines
> But I do realize that without the historical background, none of this
> makes sense. And quite frankly, I do hate "--pretty=xyz" myself. I  
> find
> myself wishing I could just write
>
> 	git log --oneline
>
> instead of "--pretty=oneline", and I wish "shortlog" was a pretty  
> format
> instead of a command of its own.
Why not an alias then?
	git oneline
ie. something like this, which I have in my config:
	alias.oneline=log --pretty=oneline --abbrev-commit

Cheers, Wincent

Previous: Jakub Narebski
Message 23 of 23 in “revision.c: add --format option for 'git log'”
  1. revision.c: add --format option for 'git log'Felipe Contreras, Feb 21, 2009
  2. Junio C HamanoFeb 22, 2009
  3. Felipe ContrerasFeb 22, 2009
  4. Junio C HamanoFeb 22, 2009
  5. Junio C HamanoFeb 22, 2009
  6. Felipe ContrerasFeb 22, 2009
  7. Junio C HamanoFeb 22, 2009
  8. Felipe ContrerasFeb 22, 2009
  9. Junio C HamanoFeb 23, 2009
  10. Felipe ContrerasFeb 24, 2009
  11. Felipe ContrerasFeb 24, 2009
  12. Junio C HamanoFeb 24, 2009
  13. Nanako ShiraishiFeb 24, 2009
  14. Junio C HamanoFeb 24, 2009
  15. Felipe ContrerasFeb 24, 2009
  16. Add --format that is a synonym to --prettyNanako Shiraishi, Feb 24, 2009
  17. Jeff KingFeb 24, 2009
  18. Junio C HamanoFeb 24, 2009
  19. Jeff KingFeb 24, 2009
  20. Felipe ContrerasFeb 24, 2009
  21. Linus TorvaldsFeb 22, 2009
  22. Jakub NarebskiFeb 22, 2009
  23. Wincent ColaiutaFeb 23, 2009

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.