mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 10:22:13 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user