fix: original FullMessage missing line-endings (#790)

This commit is contained in:
leo 2024-12-12 19:38:02 +08:00
parent c4c7bef93c
commit 59f11e9aca
No known key found for this signature in database

View file

@ -53,9 +53,15 @@ namespace SourceGit.Commands
break;
default:
if (line.Equals(_boundary, StringComparison.Ordinal))
{
nextPartIdx = -1;
_current.Message = _current.Message.Trim();
}
else
_current.Message += line;
{
_current.Message = _current.Message + "\n" + line;
}
break;
}