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

Add "show HEAD" button

Open Timmmm opened this issue 1 year ago • 5 comments

When clicked it jumps to the currently checked out commit.

Summary of the issue: When you've got a very old commit checked out, or a detached HEAD with unstaged changes it can be quite hard to find the HEAD commit.

Description outlining how this pull request resolves the issue: This adds a button to jump to the HEAD commit.

I just used one of the existing icons you already had but I guess it would make sense to use a distinct one. I couldn't find a good one anywhere though. :-/

Timmmm avatar Apr 27 '23 14:04 Timmmm

Love the work! Hopefully it gets merged soon.

I think a longer term solution (and more maintainable one) would be to add a .btn class to all of the buttons and rewrite the CSS to be .btn instead of #thisBtn, #thatBtn, #anotherBtn, etc.

TheBrenny avatar Jul 09 '23 13:07 TheBrenny

Yeah I don't think it will be sadly - this extension seems to be not maintained, at least currently. Bit of a shame given how good it is, but people have lives...

Timmmm avatar Jul 09 '23 16:07 Timmmm

Yeah I don't think it will be sadly - this extension seems to be not maintained, at least currently. Bit of a shame given how good it is, but people have lives...

Michael Hutchison has not committed anything to github since 2021: https://github.com/mhutchie?tab=overview&from=2021-12-01&to=2021-12-31

And it looks like the license do not allow to fork the project and continue it?

Permission is NOT GRANTED to publish, distribute, sublicense, and/or sell derivative works of the Software. -- https://github.com/mhutchie/vscode-git-graph/blob/v1.30.0/LICENSE

boan-jfm avatar Sep 22 '23 06:09 boan-jfm