hansu / vscode-git-graph

Fork of Michael Hutchisons repository with some updates.
Other
68 stars 11 forks source link

add simplifyByDecoration checkbox #23

Open XUJINKAI opened 1 year ago

XUJINKAI commented 1 year ago

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

hansu commented 1 year ago

Can you post an example how the difference looks?

XUJINKAI commented 1 year ago

Use git as an example: image

After checked "Simplify" button, only branches and tags shows. This is a very useful feature for large repos. image

If unchecked "Show Tags", only branches shows. image

phil294 commented 1 year ago

very useful flag for gigantic repositories!

hansu commented 1 year ago

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?

XUJINKAI commented 1 year ago

@hansu I'd like to contribute, but I am not professional in vscode extension development or typescript🤦‍♂️. sorry