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

Re: Re* [PATCH] Add `[decorate]' configuration section.

From
Thomas Rast <trast@student.ethz.ch>
Date
Feb 20, 2010, 17:49 UTC
Message-ID
<201002201849.03656.trast@student.ethz.ch>
In-Reply-To
<20100220171732.GA15561@book.hvoigt.net>
On Saturday 20 February 2010 18:17:44 Heiko Voigt wrote:
Show 7 quoted lines
> On Wed, Feb 17, 2010 at 10:28:28AM -0800, Junio C Hamano wrote:
> > Junio C Hamano <gitster@pobox.com> writes:
> 
> I have just seen this in Junios tree:
> 
> commit 8a3d203bd02bec48a02557961899d81da172fa23 writes:
> > Author: Junio C Hamano <gitster@pobox.com>
[...]
Show 14 quoted lines
> >     Once a user has this configuration in ~/.gitconfig, there needs to be a
> >     way to override it from the command line.  Add --no-decorate option to
> >     log family and also allow --decorate=no to mean the same thing.  Since
> >     we allow setting log.decorate to 'true', the command line also should
> >     accept --decorate=yes and behave accordingly.
> 
> How about calling that option --plain, --porcelain or similar and have it
> disable all configs which change the current output? Because if we can go this
> way I would actually like to add more useful configurations. For example I
> always find me typing:
> 
> git log --decorate --abbrev-commit -p
> 
> which in most situations just gives you a nicer overview.

Since 66b2ed0 (Fix "log" family not to be too agressive about showing notes, 2010-01-20), git log --pretty=... doesn't show notes. Perhaps at least the 'raw' format should also implicitly disable other user configuration, including this?

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Heiko VoigtNext: Junio C Hamano
Message 5 of 10 in “Add `[decorate]' configuration section.”
  1. Add `[decorate]' configuration section.Steven Drake, Feb 17, 2010
  2. Junio C HamanoFeb 17, 2010
  3. Re* [PATCH] Add `[decorate]' configuration section.Junio C Hamano, Feb 17, 2010
  4. Heiko VoigtFeb 20, 2010
  5. Thomas RastFeb 20, 2010
  6. Junio C HamanoFeb 22, 2010
  7. Steven DrakeFeb 25, 2010
  8. Junio C HamanoFeb 25, 2010
  9. Steven DrakeFeb 26, 2010
  10. Steven DrakeFeb 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.