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

Re: [PATCH 3/3] log/show/whatchanged: introduce format.pretty configuration

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 2, 2008, 17:00 UTC
Message-ID
<7vir05oybp.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1204448753-4471-3-git-send-email-crquan@gmail.com>
Denis Cheng <crquan@gmail.com> writes:
Show 15 quoted lines
> 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.
>
> The earlier patch fixed the only in-tree caller that runs these
> commands for a purpose other than showing the output directly to the
> end user (the other in-tree caller is "git bisect visualize", whose
> output directly goes to the end user and should be affected by this
> patch).
>
> Signed-off-by: Denis Cheng <crquan@gmail.com>

I see you pretty much copied my suggested commit log messages except that you dropped the warning about the need to adjust out-of-tree scripts by end users from this one. I however think that was the most important part. We need to warn our users fairly aggressively in Release Notes about possible compatibility issues, and commit log messages are one of the most important sources for that.

Incidentally, I noticed only one when I wrote the above but now we have more, so "the only in-tree caller that runs" part is totally bogus.

No need to resend anything, as I can manage with these three messages.
Thanks.
Previous: Denis ChengNext: rae l
Message 12 of 15 in “pretty format now configurable”
  1. pretty format now configurableDenis Cheng, Feb 29, 2008
  2. Linus TorvaldsFeb 29, 2008
  3. rae lMar 1, 2008
  4. add pretty format configuration to git log/show/whatchangedDenis Cheng, Mar 1, 2008
  5. Johannes SchindelinMar 1, 2008
  6. add pretty format configuration to git log/show/whatchangedDenis Cheng, Mar 1, 2008
  7. Junio C HamanoMar 2, 2008
  8. Junio C HamanoMar 2, 2008
  9. 1/3 whatchanged documentation: share description of --pretty with othersDenis Cheng, Mar 2, 2008
  10. 2/3 specify explicit "--pretty=medium" with `git log/show/whatchanged`Denis Cheng, Mar 2, 2008
  11. 3/3 log/show/whatchanged: introduce format.pretty configurationDenis Cheng, Mar 2, 2008
  12. Junio C HamanoMar 2, 2008
  13. rae lMar 2, 2008
  14. Junio C HamanoMar 2, 2008
  15. Johannes SchindelinFeb 29, 2008

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.