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

Change abbreviated commit hash length to 7 chars

Open Chrismettal opened this issue 4 years ago • 0 comments

Summary of the issue:

Abbreviated commit length across the software is 8 chars, but git usually uses 7 chars. For better compatibility the abbrev commit hash function should be reduced to 7 chars.

Description outlining how this pull request resolves the issue: Change abbrevCommit() function to substring(0, 7);

Chrismettal avatar Dec 16 '21 17:12 Chrismettal