-
-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show the branching structure in the log. #81
Comments
Definitely on my list aswell 👍 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Still a planned feature? With this it will be perfect! |
A few ideas how this could be visualized: https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs |
suggestion: I hope we can merge, checkout and reset in the |
It would already be nice to just show the remote branches and local branches in the log viewer |
@joseffilzmaier not sure what you mean. There is little chance to have multiple references be on the same branch (we only show a single branch currently) |
If |
I put a bunch thought into this already. The biggest issue is keeping the revlog tab as efficient as it is right now. I don’t want to start building a graph in memory to traverse. It’s a matter of finding an efficient way to store everything needed to draw the graph structure and jump around everywhere. another factor is being able to draw iteratively while not everything is parsed yet (like now) the example in libgit2 unfortunately is too simple to cover any of these questions. |
Yeah, definitely! Compromising speed is not an option. |
@extrawurst Would this be solve the problem, if it existed in the rust binding for libgit2?
As of today: |
For the record I think tig does a decent job of graph rendering in a terminal and wouldn't be a bad thing to copy. |
For sure, open for PRs 😉 |
how about this repo here which also visualize Git history graphs. Maybe worth checking out @extrawurst. And this is also written in Rust, too |
It's really not bad, but still get the frustration of not having a readable tree. GitKraken and SmartGit manage to make it just right. Here is what I would expect to have in gitui: |
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). |
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 |
is this git log --graph not properly giving output to digest or the library is not properly supporting it? |
gitui does not shell out fetching the revision log to be as performant as possible. |
Hi, is there any progress on this feature? |
There is also new interesting project Serie also written in Rust. |
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. |
Also, judging by lusingander/serie#16, it just uses the git shell command under the hood, hence, it is of no use |
+1 for the VSCode extension "Git Graph" visualization, that is excellent. |
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. :-)
The text was updated successfully, but these errors were encountered: