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

Re: How to show "bisect" refs in "git log"?

From
Jeff King <peff@peff.net>
Date
Jun 26, 2025, 18:38 UTC
Message-ID
<20250626183833.GA17172@coredump.intra.peff.net>
In-Reply-To
<CA+MGQRBjx2XfhFo6Bs+X_WzRq9kB-ucZtTuw_kAfuZCVKGVvsw@mail.gmail.com>
On Thu, Jun 26, 2025 at 01:58:11PM -0400, Brendan McDonnell wrote:
Show 13 quoted lines
> I use this command
>   git log --all --graph --decorate --pretty=oneline --abbrev-commit
> frequently to visualize a repo's commit history.
> 
> It used to include "bisect" references in the output, until ~a couple
> years ago IIRC. Is there a way I can modify this command so that it
> includes them again, without excluding any references that it already
> includes? (Appending "--decorate-refs=refs/*" includes the bisect
> refs, but excludes some others that are there without it.)
> 
> Is this behavior change a bug, or intentional?
>  - If intentional, why? And is it documented anywhere?
>  - If it's a bug, should I report it somewhere (else)?

This is due to 92156291ca (log: add default decoration filter, 2022-08-05). That commit doesn't mention bisect refs, but there's some discussion in this sub-thread:

  https://lore.kernel.org/git/kl6lr10l8t7y.fsf@chooglen-macbookpro.roam.corp.google.com/

There are some possible directions there for adding them to the default set in a cleaner way. In the meantime, doing:

  git config log.initialDecorationSet all
will restore the old behavior.
-Peff
Previous: Brendan McDonnell
Message 2 of 2 in “How to show "bisect" refs in "git log"?”
  1. Brendan McDonnellJun 26, 2025
  2. Jeff KingJun 26, 2025

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.