hansu / vscode-git-graph

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

Rewrite-cump-to-current-commit #32

Open mannfuri opened 9 months ago

mannfuri commented 9 months ago

Regarding the 'Jump to Current COMMIT', I have added two new features.

1)You can customize the color. Search for git-graph.graph.blink in SETTING and set it to the color you want. 2)If the current commit is an older commit that is not yet loaded on the current screen, it will automatically scroll down until it is found, at which point it will start to flash.

mannfuri commented 9 months ago

https://github.com/hansu/vscode-git-graph/assets/91338215/24de9a7e-dd40-4ff8-a432-bffb591d9f74

hansu commented 9 months ago

Thanks for your contribution, but this is not very handy for commits which are far back in the past:

  1. It takes long time to load all commit in between
  2. The huge amount of loaded commits slows down Git Graph

In most cases it is not necessary to load all commits in between. It should be sufficient to load some commits around the chosen one.

See here at this example:

git-graph-pr32