Skip to content

showWholeGraph: true not working or config not used #5224

Description

@domsl

Hi, i am trying to switch to lazygit and I have troubles getting my workflow right.

One of the things that confuses me: I do not see other branches that are further ahead (lets say feature ahead of main) while having checked out the main branch. Coming from gitextensions this is second nature, but I do enjoy the speed and terminal experience of lazygit.

So I tried to enable showWholeGraph

Describe the bug

I've added

  log:
    # displays the whole git graph by default in the commits view (equivalent to
    # passing the `--all` argument to `git log`)
    showWholeGraph: true

to my config file (C:\Users\abc\AppData\Local\lazygit)

But the panel 4 does not show me my "ahead" branch while I checked out the the branch further back.

<C-l> and "Toggle to show git-graph (pass --all)" does what I want, so I tried to enable it by default and failed.

To Reproduce

Steps to reproduce the behavior:

  1. Add yml above to
  2. Open lazygit and checkout a graph further behind

Expected behavior

See newer commits from other branches

Screenshots

Image

Version info:

lazygit --version commit=80223c7fbbd0b86631a988834cbe88e267bb0bd9, build date=2025-11-01T09:43:19Z, build source=binaryRelease, version=0.56.0, os=windows, arch=amd64, git version=2.50.1.windows.1

Terminal info:

Windows Terminal with Command Prompt

Additional context

Additionally I have a question:

In the screenshot, is on (All enabled), but the top four commits are actually from a different branch, which isn’t visible in the log. Is there a way to show that?

When I maximize (++), it shows up, so I’m wondering if there’s an option to color it differently or use different dots or something. Any visual cue that makes it obvious it’s a different branch?

edit:

I could just reproduce the same behaviour on Fedora on Ptyxis - so maybe I am misunderstanding the config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions