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.