mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-18 01:35:36 -05:00
Adds shortenSha method
This commit is contained in:
@@ -56,7 +56,7 @@ export class GitUri extends Uri {
|
||||
}
|
||||
|
||||
get shortSha() {
|
||||
return this.sha && this.sha.substring(0, 8);
|
||||
return this.sha && GitService.shortenSha(this.sha);
|
||||
}
|
||||
|
||||
fileUri() {
|
||||
|
||||
Reference in New Issue
Block a user