Re: Bugreport
Junio C Hamano <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
"Kristoffer Haugsbakk" <[email protected]> writes: >> 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.