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

Re: [PATCH v2] log: make --abbrev-commit's ellipsis configurable

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 13, 2009, 16:45 UTC
Message-ID
<8fe92b430902130845r4ebe32eq78f849d66ab899fa@mail.gmail.com>
In-Reply-To
<m363jeux00.fsf@localhost.localdomain>
Johannes Sixt <j.sixt@viscovery.net> writes:
> Thomas Rast schrieb:
Show 14 quoted lines
> > So we introduce a new variable format.abbrevEllipsis that defaults to
> > true (previous behaviour).
>
> How about format.hideAbbrevDots that defaults to false? Then you can write
> in the config file:
>
>     [format]
>          hideAbbrevDots
>
> (note: without '= true').
>
> Even though I usually detest double negations (and I would count
> hideAbbrevDots=false as one), the ability to set the non-default value of
> a Boolean variable in this way trumps my taste.

By the way, should it be in [format] section? I thought that format.* variables are about git-format-patch... Wouldn't it be better to put it in [log] section?

On the other hand we have already format.pretty (but log.date and log.showroot). Nice consistency ;-(

-- Jakub Narebski Poland ShadeHawk on #git

Previous: Jeff King
Message 11 of 11 in “log: make --abbrev-commit's ellipsis configurable”
  1. log: make --abbrev-commit's ellipsis configurableThomas Rast, Feb 13, 2009
  2. Johannes SchindelinFeb 13, 2009
  3. Thomas RastFeb 13, 2009
  4. Johannes SchindelinFeb 13, 2009
  5. log: make --abbrev-commit's ellipsis configurableThomas Rast, Feb 13, 2009
  6. Johannes SixtFeb 13, 2009
  7. Jeff KingFeb 13, 2009
  8. Junio C HamanoFeb 13, 2009
  9. log: do not print ellipses with --abbrev-commitThomas Rast, Feb 13, 2009
  10. Jeff KingFeb 13, 2009
  11. Jakub NarebskiFeb 13, 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.