Skip to content

Comments

Change abbreviated commit hash length to 7 chars#601

Open
Chrismettal wants to merge 1 commit intomhutchie:developfrom
Chrismettal:abbrev
Open

Change abbreviated commit hash length to 7 chars#601
Chrismettal wants to merge 1 commit intomhutchie:developfrom
Chrismettal:abbrev

Conversation

@Chrismettal
Copy link

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);

AngelAlexQC added a commit to AngelAlexQC/vscode-git-graph that referenced this pull request Jan 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant