Skip to content

Change default model to none #146

Open

Description

@plafrance

Whenever a branch is created directly from "main", it is unnecessarily rendered on a side column.

Examples :

These show different renderings of the same repo, the only difference being the position of "main".

   ●  2ac1be3 (xyz) Test Thu Apr 23 13:33:55 EDT 2026
   ●  4f6e580 (abc) Test Thu Apr 23 13:19:40 EDT 2026
   ●  765f904 (test) Test Thu Apr 23 13:19:22 EDT 2026
 ┌─┘  
 ●    a29b654 (HEAD -> main) Test Thu Apr 23 13:18:31 EDT 2026
---
   ●  2ac1be3 (xyz) Test Thu Apr 23 13:33:55 EDT 2026
   ●  4f6e580 (abc) Test Thu Apr 23 13:19:40 EDT 2026
 ┌─┘  
 ●    765f904 (HEAD -> main, test) Test Thu Apr 23 13:19:22 EDT 2026
 ●    a29b654 Test Thu Apr 23 13:18:31 EDT 2026
---
   ●  2ac1be3 (xyz) Test Thu Apr 23 13:33:55 EDT 2026
   ●  4f6e580 (abc) Test Thu Apr 23 13:19:40 EDT 2026
 ┌─┘  
 ●    765f904 (main) Test Thu Apr 23 13:19:22 EDT 2026
 ●    a29b654 (HEAD -> test) Test Thu Apr 23 13:18:31 EDT 2026
---
 ●  2ac1be3 (xyz) Test Thu Apr 23 13:33:55 EDT 2026
 ●  4f6e580 (abc) Test Thu Apr 23 13:19:40 EDT 2026
 ●  765f904 Test Thu Apr 23 13:19:22 EDT 2026
 ●  a29b654 (HEAD -> test) Test Thu Apr 23 13:18:31 EDT 2026

Expectation :

The graph should be identical to the result of "git log --all --graph", that is, a straight line:

 ●  2ac1be3 (xyz) Test Thu Apr 23 13:33:55 EDT 2026
 ●  4f6e580 (abc) Test Thu Apr 23 13:19:40 EDT 2026
 ●  765f904 (test) Test Thu Apr 23 13:19:22 EDT 2026
 ●  a29b654 (HEAD -> main) Test Thu Apr 23 13:18:31 EDT 2026

Activity

  1. mlange-42 commented on Apr 23, 2026

    @mlange-42
    Collaborator

    This is expected behaviour, as these branches are seen as a different category than main or master (e.g. feature branches). So display in a different column is intentional.

  2. plafrance commented on May 2, 2026

    @plafrance
    ContributorAuthor

    Thank you @mlange-42 for your answer. I understood it was a gitflow thing when I tried switching the mode to none.

    Now, it might be the desired layout for gitflow users, but it seems wrong in other cases. For someone coming from "git log --graph" and not using gitflow, it looks like a bug. Maybe the solution would simply be to default the mode to none?

  3. changed the title [-]Descendant branches of main incoherently rendered[/-] [+]Change default model to none[/+] on Oct 28, 2026
  4. peso commented on Oct 28, 2026

    @peso
    Collaborator

    I can understand from a new user point of view that it is a surprise.
    I'm changing this to a feature request.
    A good implementation that also works for advanced users would allow a per-user setting of default model.

  5. added theissue type on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions