diff --git a/src/Commands/QueryCommitsWithFullMessage.cs b/src/Commands/QueryCommitsWithFullMessage.cs index 116cb3cd..b307fca8 100644 --- a/src/Commands/QueryCommitsWithFullMessage.cs +++ b/src/Commands/QueryCommitsWithFullMessage.cs @@ -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; }