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

Re: What's cooking in git.git (Mar 2010, #02; Sun, 07)

From
Jeff King <peff@peff.net>
Date
Mar 9, 2010, 23:13 UTC
Message-ID
<20100309231306.GD25265@sigill.intra.peff.net>
In-Reply-To
<7vk4tnw4nz.fsf@alter.siamese.dyndns.org>
On Mon, Mar 08, 2010 at 01:20:32AM -0800, Junio C Hamano wrote:
Show 8 quoted lines
> After thinking about this a bit more, I do not think it is a good idea to
> disable configured decoration when an explicit --pretty is given.  A patch
> to do so would be a trivial two-liner:
> [...]
> but there is one big difference between notes and decoration.  Decorations
> are designed to be a small, one-per-ref tokens that would sit well on a
> line that already has other essential informations, while notes are a lot
> louder "in your face" annotations that occupy line(s) on their own.

True, but turning off configured decorations also helps scripts. I think we can all agree that normal "git log" is not supposed to be consumed by scripts, but should "git log --pretty=raw" turn off configured decorations?

With the current code, gitk (which calls "log --pretty=raw") barfs on a repository with log.decorate turned on.

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “What's cooking in git.git (Mar 2010, #02; Sun, 07)”
  1. Junio C HamanoMar 7, 2010
  2. Junio C HamanoMar 8, 2010
  3. Jeff KingMar 9, 2010
  4. Junio C HamanoMar 10, 2010
  5. Jeff KingMar 10, 2010
  6. SZEDER GáborMar 8, 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.