From 23f39480e73fbd694f41a5049524890de3e56101 Mon Sep 17 00:00:00 2001 From: KingofBeast Date: Thu, 24 Jul 2025 23:13:57 -0500 Subject: [PATCH] Show first 7 characters of commit hash instead of cutting them off https://github.com/AmSmart/VSGitBlame/issues/5 --- VSGitBlame/CommitInfoViewFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VSGitBlame/CommitInfoViewFactory.cs b/VSGitBlame/CommitInfoViewFactory.cs index 899d5ac..b792d8a 100644 --- a/VSGitBlame/CommitInfoViewFactory.cs +++ b/VSGitBlame/CommitInfoViewFactory.cs @@ -196,7 +196,7 @@ public static Border Get(CommitInfo commitInfo, IAdornmentLayer adornmentLayer) $""" {commitInfo.AuthorName} | {commitInfo.Time:f} {commitInfo.Summary} - Commit: {commitInfo.Hash.Substring(7)} + Commit: {commitInfo.Hash.Substring(0, 7)} """; _container.Visibility = Visibility.Visible;