fix: missing subject for the last commit (oldest in commit graph)

This commit is contained in:
leo 2024-06-11 11:08:20 +08:00
parent ac1eacaa87
commit 8bcce5f723
No known key found for this signature in database
GPG key ID: B528468E49CD0E58

View file

@ -63,6 +63,9 @@ namespace SourceGit.Commands
end = rs.StdOut.IndexOf('\n', start);
}
if (start < rs.StdOut.Length)
_current.Subject = rs.StdOut.Substring(start);
if (_findFirstMerged && !_isHeadFounded && _commits.Count > 0)
MarkFirstMerged();