enhance: always try to load commit message from $GIT_DIR/MERGE_MSG (#1915)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2025-11-13 18:10:17 +08:00
parent c4bcc5e174
commit 562f21df6f

View File

@@ -776,7 +776,10 @@ namespace SourceGit.ViewModels
InProgressContext = null;
if (_inProgressContext == null)
{
LoadCommitMessageFromFile(Path.Combine(_repo.GitDir, "MERGE_MSG"));
return;
}
if (_inProgressContext.GetType() == oldType && !string.IsNullOrEmpty(_commitMessage))
return;