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

Re: [PATCH] show_date(): rename the "relative" parameter to "mode"

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Feb 27, 2007, 23:53 UTC
Message-ID
<Pine.LNX.4.64.0702271548030.12485@woody.linux-foundation.org>
In-Reply-To
<Pine.LNX.4.63.0702280010020.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Wed, 28 Feb 2007, Johannes Schindelin wrote:
> 
> If you use "next" Git:
> 
> 	$ git log --pretty=format:"%h %ad %an"

Well, that has the long-format date, which really isn't appropriate for a one-liner format.

It's one of the reasons I agreed with your show_date() changes: I think our date output formats are fairly limited. I love the long date format, but if I want to show a commit name and author name and email on the same line, no way can we use 30+ characters for just the date.

So the part about the GNU ChangeLog format I like is the single-line header thing.. Right now, the choice between "--pretty=xxx" choices is "oneline", "short", "medium", and there's something lacking there in between ("terse").

The "format:" thing certainly gives us more options to play with, though.
			Linus
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 16 of 18 in “show_date(): rename the "relative" parameter to "mode"”
  1. show_date(): rename the "relative" parameter to "mode"Johannes Schindelin, Feb 27, 2007
  2. Linus TorvaldsFeb 27, 2007
  3. Junio C HamanoFeb 27, 2007
  4. Linus TorvaldsFeb 27, 2007
  5. Johannes SchindelinFeb 27, 2007
  6. Linus TorvaldsFeb 27, 2007
  7. Johannes SchindelinFeb 27, 2007
  8. Junio C HamanoFeb 27, 2007
  9. Johannes SchindelinFeb 27, 2007
  10. Junio C HamanoFeb 27, 2007
  11. Johannes SchindelinFeb 27, 2007
  12. Linus TorvaldsFeb 27, 2007
  13. Johannes SchindelinFeb 27, 2007
  14. Linus TorvaldsFeb 27, 2007
  15. Johannes SchindelinFeb 27, 2007
  16. Linus TorvaldsFeb 27, 2007
  17. GNU ChangeLogs, was Re: [PATCH] show_date(): rename the "relative" parameter to "mode"Johannes Schindelin, Feb 27, 2007
  18. OT: Favourite log message layoutAndy Parkins, Feb 28, 2007

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.