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

Re: Bugreport

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 12, 2026, 17:03 UTC
Message-ID
<xmqqmrurxodi.fsf@gitster.g>
In-Reply-To
<8fe70f89-89a8-426f-bab9-21284722c58d@app.fastmail.com>
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 11 quoted lines
>> They are not graphically connected with the actual commits, they just
>> sit there over them. No other graphical
>> tool (Sublime Merge, IntelliJ Idea) displays them.
>
> They are Git notes. They form their own connected graph. That’s why they
> are not connected with the “actual commits” like from some branch.
>
> The `--all` will include all refs, including Git notes like
> `refs/notes/commits`.
>
> This doesn’t look like a bug.

Wow, I 100% agree with your conclusions, but it was unexpected even to me that "git log --all" crawled anything outside branches, remote-tracking branches, and tags. I can sort-of understand why the "rev-list" command at the plumbing layer may want to include everything under refs/ hierarchy, but it is unexpected for the end-user facing "git log".

Not that we want to or we can change it this late in the game, though. I wonder if "git log --all -p" also goes through the stash refs as well as notes.

Previous: Marcel SvitalskýNext: Kristoffer Haugsbakk
Message 8 of 9 in “Bugreport”
  1. Marcel SvitalskýAug 12, 2026
  2. Kristoffer HaugsbakkAug 12, 2026
  3. Marcel SvitalskýAug 12, 2026
  4. D. Ben KnobleAug 12, 2026
  5. Marcel SvitalskýAug 12, 2026
  6. Junio C HamanoAug 12, 2026
  7. Marcel SvitalskýAug 12, 2026
  8. Junio C HamanoAug 12, 2026
  9. Kristoffer HaugsbakkAug 13, 2026

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.