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; break;
default: default:
if (line.Equals(_boundary, StringComparison.Ordinal)) if (line.Equals(_boundary, StringComparison.Ordinal))
{
nextPartIdx = -1; nextPartIdx = -1;
_current.Message = _current.Message.Trim();
}
else else
_current.Message += line; {
_current.Message = _current.Message + "\n" + line;
}
break; break;
} }