Skip to content

Commit 6eb226e

Browse files
committed
fix: wrong whitespace at start of the last commit message while interactive rebasing (#790)
1 parent 59f11e9 commit 6eb226e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Commands/QueryCommitsWithFullMessage.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ public QueryCommitsWithFullMessage(string repo, string args)
7171
end = rs.StdOut.IndexOf('\n', start);
7272
}
7373

74+
if (_current != null)
75+
_current.Message = _current.Message.Trim();
76+
7477
return _commits;
7578
}
7679

0 commit comments

Comments
 (0)