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

log --graph draws an orphaned branch with parents

From
Hherr.kaste <herr.kaste@gmail.com>
Date
Oct 13, 2026, 19:00 UTC
Message-ID
<CAFzd1+4Jx_sWvMrV10gi9400BBNJOUXW0WwsypiM7yCh5x8fow@mail.gmail.com>
Hi!  I have the following:
Checkout https://github.com/packagecontrol/thecrawl.git then draw the graph
$ git log --graph --all --oneline

a few pages down, (I don't have a more minimal reproduction, --all is required) I see

What happened? (Actual behavior)
* | | 03b117815 Changed metadata of `Modelines`
* | | 30f679f1f Bulk edit
 \ | |
  * | | 5a2cecdd9 Initial revision
 / /
| | * 6062ecf4f (origin/feat/compare-registries) Add script to compare
two registries
| |/
| * 8f034813a Clarify fatal crawl skip logs

5a2cecdd9 is actually the birth of an orphaned branch, gitk also shows it like that.

What did you expect to happen? (Expected behavior)
E.g. something like this:
● | | 03b117815 Changed metadata of `Modelines`
● | | 30f679f1f Bulk edit
● | | 5a2cecdd9 Initial revision
 / /
| | ● 6062ecf4f (origin/feat/compare-registries) ...
| |/
| ● 8f034813a Clarify fatal crawl skip logs

What's different between what you expected and what actually happened? An obvious drawing error, 5a2cecdd9 is drawn as if it had parents, and the rightmost lane goes to nirvana.

[System Info]
git version:
git version 2.56.0.windows.2
cpu: x86_64
built from commit: cc4dbf752a05efdc0e04e71fd3e8110d11bdd35c
sizeof-long: 4
sizeof-size_t: 8
shell-path: D:/git-sdk-64-build-installers/usr/bin/sh
rust: disabled
feature: fsmonitor--daemon
gettext: enabled
libcurl: 8.22.0
OpenSSL: OpenSSL 3.5.9 29 Sep 2026
zlib: 1.3.2
SHA-1: SHA1_DC
SHA-256: SHA256_BLK
default-ref-format: files
default-hash: sha1
uname: Windows 10.0 26200
compiler info: gnuc: 16.2
libc info: no libc information available
$SHELL (typically, interactive shell): C:\Dev\Git\usr\bin\bash.exe

Regards Caspar Duregger

Next: herr.kaste
Message 1 of 8 in “log --graph draws an orphaned branch with parents”
  1. herr.kasteOct 13, 2026
  2. herr.kasteNov 3, 2026
  3. Pablo SabaterNov 3, 2026
  4. Pablo SabaterNov 3, 2026
  5. herr.kasteNov 3, 2026
  6. Pablo SabaterNov 3, 2026
  7. graph: do not indent visual roots with columns to their rightCaspar Duregger, Nov 3, 2026
  8. Pablo SabaterNov 3, 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.