mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
refactor: commit hash detection in message
This commit is contained in:
parent
6768a2c1fe
commit
23326d179a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace SourceGit.Views
|
|||
{
|
||||
public partial class CommitMessagePresenter : SelectableTextBlock
|
||||
{
|
||||
[GeneratedRegex(@"\b([0-9a-fA-F]{8,40})\b")]
|
||||
[GeneratedRegex(@"\b([0-9a-fA-F]{10,40})\b")]
|
||||
private static partial Regex REG_SHA_FORMAT();
|
||||
|
||||
public static readonly StyledProperty<string> MessageProperty =
|
||||
|
|
Loading…
Reference in a new issue