-
Notifications
You must be signed in to change notification settings - Fork 9
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
add simplifyByDecoration checkbox #23
base: master
Are you sure you want to change the base?
Conversation
Can you post an example how the difference looks? |
similar to hansu/vscode-git-graph#23 can help with #22
very useful flag for gigantic repositories! |
Ok looks like a good option to keep the overview. But can you add a setting to disable the button because the space in this bar is quite rare especially when viewing Git-Graph in a split view? |
@hansu I'd like to contribute, but I am not professional in vscode extension development or typescript🤦♂️. sorry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't forget about the unit tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is still the setting missing to show this checkbox on the bar or not.
Please add this due to space reasons as mentioned earlier.
@@ -1077,6 +1077,11 @@ | |||
"default": true, | |||
"description": "Show Remote Branches in Git Graph by default. This can be overridden per repository from the Git Graph View's Control Bar." | |||
}, | |||
"git-graph.repository.simplifyByDecoration": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This setting has now effect when I tested it.
add "Simplify" button next to "show remote branches"
this button add "--simplify-by-decoration" arg to git log, this will show topology of git branches and tags.
btw, I rename "Show Remote Branches" to "Remotes" to prevent header too long