vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Feat: Shorten commit ID's in remote URL's

Open AnrDaemon opened this issue 1 year ago • 1 comments

Presently, GitLens produces full commit hash on "Share remote file URL" links. It's nice and dandy, but more often than not it is unnecessary. 8 characters are more than enough to identify a commit in 99,9% repos. Even git itself uses only 7 characters in abbreviated commit names.

Self check: The gitlens.advanced.abbreviateShaOnCopy setting does not affect remote file links.

AnrDaemon avatar Jun 23 '24 22:06 AnrDaemon

likely dupe of #2160

i-vs avatar Jul 10 '24 19:07 i-vs