mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 10:22:13 +08:00
enhance: remove duplicated newline while appending squashed commit message
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -398,7 +398,7 @@ namespace SourceGit.ViewModels
|
||||
var builder = new StringBuilder();
|
||||
builder.Append(item.OriginalFullMessage);
|
||||
for (var j = pendingMessages.Count - 1; j >= 0; j--)
|
||||
builder.Append("\n\n").Append(pendingMessages[j]);
|
||||
builder.Append("\n").Append(pendingMessages[j]);
|
||||
|
||||
item.FullMessage = builder.ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user