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
Shift modifier on the Commit Details View topological navigation keystrokes #383
Comments
Hi @SimonAlfie, The Commit Details View displays information about a commit, primarily obtained by git show. Git doesn't store a commits children, only it's parents - hence why I don't display a list of children (as that information is not available from Git). Although it would be possible to infer the children of a commit by scanning the loaded commits for commits with the desired parent, this is very misleading as it's possible that the commit has additional children that are not within the loaded commits (e.g. a child is on a branch that has been filtered out). As I definitely don't want to mislead any users, who rely on the data being complete, unfortunately it's simply not possible to add the children to the Commit Details View. However, are you aware of the following keyboard shortcuts that allow you to easily move between commits when the Commit Details View is open? I believe the keystrokes
I'll close this issue, as it's simply not possible to accurately obtain the data required for this feature request. |
Hi @mhutchie Thanks for the quick response. I can see your point about the information not being thee in the git command. So its not easy to obtain. Unfortunately the workaround you suggest does not work as is only follows the current branch. What happens in a fork (going forwards with Ctrl-Up) or merge (going backwards with Ctrl-Down)? You can only follow one path. Maybe a Ctrl-Shift-Up or Ctrl-Shift-Down to follow the alternate path? Agreed it is a nicety not essential. I am really just suggesting a really nice feature from GitExtensions. |
Hi @SimonAlfie, I really like your suggestion of providing I'll include this in the next release of Git Graph. |
This will be available in v1.27.0. If you'd like to use it before the next release, you can download v1.27.0-beta.1, and install it following the instructions provided here. |
The current commit info contains the parent commit(s) as commit hash links, which can be clicked to jump to the parent commit in Git Graph. It would be very useful if the child commit(s) were also included in the same manner, making it as easy to jump forwards to the children as it is back to the parents.
Currently you can jump back to a parent but then have to scroll up to go forward to the child, this is particularly problematic if you are looking at merges (especially merges of very old commits), and you go down the wrong history path.
The text was updated successfully, but these errors were encountered: