Skip to content

Show the branching structure in the log. #81

Description

@jugglerchris

Is your feature request related to a problem? Please describe.
It can be useful seeing the branching/merging structure in the log view, in a similar way to git log --oneline --decorate --graph

Describe the solution you'd like
The graph view visible in the log window.

Describe alternatives you've considered
I haven't got any other alternatives other than not doing it. :-)

Activity

  1. extrawurst commented on May 21, 2020

    @extrawurst
    Collaborator

    Definitely on my list aswell 👍

  2. added this to the v0.9 milestone on Jul 9, 2020
  3. removed this from the v0.9 milestone on Jul 29, 2020
  4. stale commented on Oct 27, 2020

    @stale
  5. bew commented on Oct 27, 2020

    @bew
  6. extrawurst commented on Oct 27, 2020

    @extrawurst
  7. bew commented on Oct 28, 2020

    @bew
  8. stale commented on Jan 26, 2021

    @stale
  9. kinooyume commented on Mar 23, 2021

    @kinooyume
  10. kting28 commented on Apr 22, 2021

    @kting28

    Still a planned feature? With this it will be perfect!

  11. 16 remaining items

  12. Ergus commented on Feb 4, 2023

    @Ergus

    Hi guys:

    This issue seems to me the only killer feature missing in gitui at the moment. If you allow me to suggest something, I would prefer to draw the tree with simple unicode or ascii characters (like magit or tig already do) and then you can choose a fancy draw library if you like... but but once the basic is in... remember that some of us use old fashion terminals and very basic embedded systems (with ssh, serial or even worst... cmd from MS-Windows).

  13. extrawurst commented on Feb 4, 2023

    @extrawurst
    Collaborator

    The issue certainly is not how to make it look good atm. It’s just complex to get right on giant repos where not the entire list of commits is kept in memory let alone their ancestor relation info. The drawing then becomes the simple part

  14. soloturn commented on Feb 19, 2023

    @soloturn

    is this git log --graph not properly giving output to digest or the library is not properly supporting it?

  15. extrawurst commented on Feb 19, 2023

    @extrawurst
    Collaborator

    gitui does not shell out fetching the revision log to be as performant as possible.

  16. petertheprocess commented on May 14, 2024

    @petertheprocess

    Hi, is there any progress on this feature?

  17. Johnmcenroyy commented on Sep 21, 2024

    @Johnmcenroyy

    There is also new interesting project Serie also written in Rust.
    It is in official repo of Arch Linux.

  18. GalaxySnail commented on Sep 22, 2024

    @GalaxySnail

    There is also new interesting project Serie also written in Rust.
    It is in official repo of Arch Linux.

    That's amazing! But it requires iterm2/kitty image protocols, and even sixel is not supported. It would be great if such a TUI could be implemented without image protocols.

  19. williamdes commented on Sep 22, 2024

    @williamdes

    There is also new interesting project Serie also written in Rust.
    It is in official repo of Arch Linux.

    That's amazing! But it requires iterm2/kitty image protocols, and even sixel is not supported. It would be great if such a TUI could be implemented without image protocols.

    It works fine with terminals like gnome desktop but not Guake for example.
    Please open an issue on their repo to support other protocols.

  20. cgahr commented on Sep 22, 2024

    @cgahr

    Also, judging by lusingander/serie#16, it just uses the git shell command under the hood, hence, it is of no use

  21. balintbarna commented on Oct 1, 2024

    @balintbarna

    +1 for the VSCode extension "Git Graph" visualization, that is excellent.

  22. peso commented on Mar 26, 2025

    @peso
    Contributor

    Another interesting project: git-graph, used in git-igitt

  23. thorvn commented on Aug 2, 2025

    @thorvn

    There is also new interesting project Serie also written in Rust. It is in official repo of Arch Linux.

    This looks really good, but it doesn't seem to work with terminal multiplexers

  24. gogongxt commented on Sep 4, 2025

    @gogongxt

    LGTM

  25. nicolas-s commented on Jan 26, 2026

    @nicolas-s

    Another Rust git graph project: keifu

  26. philocalyst commented on Mar 24, 2026

    @philocalyst

    My latest PR: #2890 should resolve this! Thanks everyone for the patience :)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions