mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-26 11:51:17 +08:00
enhance: conventional commit message builder supports breaking changes prefix (#584)
This commit is contained in:
@@ -68,12 +68,13 @@ namespace SourceGit.ViewModels
|
||||
{
|
||||
builder.Append("(");
|
||||
builder.Append(_scope);
|
||||
builder.Append("): ");
|
||||
builder.Append(")");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if (string.IsNullOrEmpty(_breakingChanges))
|
||||
builder.Append(": ");
|
||||
}
|
||||
else
|
||||
builder.Append("!: ");
|
||||
|
||||
builder.Append(_description);
|
||||
builder.Append("\n\n");
|
||||
|
||||
Reference in New Issue
Block a user