fix: wrong whitespace at start of the last commit message while interactive rebasing (#790)

This commit is contained in:
leo 2024-12-12 20:01:10 +08:00
parent 59f11e9aca
commit 6eb226eb44
No known key found for this signature in database

View file

@ -71,6 +71,9 @@ namespace SourceGit.Commands
end = rs.StdOut.IndexOf('\n', start); end = rs.StdOut.IndexOf('\n', start);
} }
if (_current != null)
_current.Message = _current.Message.Trim();
return _commits; return _commits;
} }