From a229a19b2ec14865e1361683500623bb6ad08b56 Mon Sep 17 00:00:00 2001 From: Nathan Baulch Date: Mon, 14 Jul 2025 12:03:43 +1000 Subject: [PATCH] fix: discard null process output data (#1571) --- src/Commands/Command.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Commands/Command.cs b/src/Commands/Command.cs index b933af86..2cc85b8e 100644 --- a/src/Commands/Command.cs +++ b/src/Commands/Command.cs @@ -204,7 +204,9 @@ namespace SourceGit.Commands private void HandleOutput(string line, List errs) { - line ??= string.Empty; + if (line == null) + return; + Log?.AppendLine(line); // Lines to hide in error message.