mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-26 03:40:45 +08:00
code_review: PR (#282)
* add translations for `Text.CommitCM.CopyInfo` * unify length of commit's short SHA
This commit is contained in:
@@ -441,7 +441,7 @@ namespace SourceGit.ViewModels
|
||||
copyInfo.Icon = App.CreateMenuIcon("Icons.Copy");
|
||||
copyInfo.Click += (_, e) =>
|
||||
{
|
||||
App.CopyText($"{commit.SHA[..7]} - {commit.Subject}");
|
||||
App.CopyText($"{commit.SHA.Substring(0, 10)} - {commit.Subject}");
|
||||
e.Handled = true;
|
||||
};
|
||||
menu.Items.Add(copyInfo);
|
||||
|
||||
Reference in New Issue
Block a user