From 59f11e9acaf5edbf6dad64565dd550e031f4aa67 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 12 Dec 2024 19:38:02 +0800 Subject: [PATCH] fix: original `FullMessage` missing line-endings (#790) --- src/Commands/QueryCommitsWithFullMessage.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; }