vscode-git-graph icon indicating copy to clipboard operation
vscode-git-graph copied to clipboard

Find commit beyond loaded commits

Open DmitriyKovel opened this issue 6 months ago • 2 comments

I would be nice to have "search by commit" functionality that search commit from git history but not only from loaded commits in UI as it works now but from all git history. I often face with case when I need content of some old commit that is not represented on graph ui. Thanks

DmitriyKovel avatar Jun 20 '25 11:06 DmitriyKovel

For that I recommend GitLG (https://marketplace.visualstudio.com/items?itemName=phil294.git-log--graph)

hansu avatar Jun 20 '25 20:06 hansu

This needs some structural changes because Git Graph only searches in the loaded commits. https://github.com/hansu/vscode-git-graph/pull/32 does automatically load more until it's found, but this takes some time and if you have too many loaded commits, it slows down the application. Better would be to search also outside of the loaded commits with a git command like Git LG does and then load only some commits around that commit.

hansu avatar Nov 07 '25 09:11 hansu