mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
code_review: PR (#282)
* add translations for `Text.CommitCM.CopyInfo` * unify length of commit's short SHA
This commit is contained in:
parent
114e5f8c1a
commit
6038fecab4
4 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue