Git development
 help / color / mirror / Atom feed
* log --graph draws an orphaned branch with parents
@ 2026-10-13 19:00 herr.kaste
  2026-11-03 19:25 ` herr.kaste
  2026-11-03 23:11 ` [PATCH] graph: do not indent visual roots with columns to their right Caspar Duregger
  0 siblings, 2 replies; 8+ messages in thread
From: herr.kaste @ 2026-10-13 19:00 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-03 23:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 19:00 log --graph draws an orphaned branch with parents herr.kaste
2026-11-03 19:25 ` herr.kaste
2026-11-03 21:27   ` Pablo Sabater
2026-11-03 21:29     ` Pablo Sabater
2026-11-03 21:51       ` herr.kaste
2026-11-03 22:40         ` Pablo Sabater
2026-11-03 23:11 ` [PATCH] graph: do not indent visual roots with columns to their right Caspar Duregger
2026-11-03 23:39   ` Pablo Sabater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox