refactor: commits only hold the end position of subject in body

This commit is contained in:
leo 2024-06-06 20:59:09 +08:00
parent 064d04fccc
commit b4e01a8b93
No known key found for this signature in database
GPG key ID: B528468E49CD0E58
8 changed files with 27 additions and 41 deletions

View file

@ -22,13 +22,13 @@ namespace SourceGit.ViewModels
{
_repo = repo;
Head = head;
Message = head.FullMessage;
Message = head.Body;
View = new Views.Reword() { DataContext = this };
}
public override Task<bool> Sure()
{
if (_message == Head.FullMessage)
if (_message == Head.Body)
return null;
_repo.SetWatcherEnabled(false);