optimize<WorkingCopy>: reset detail before commit

This commit is contained in:
leo 2024-02-19 10:33:28 +08:00
parent a644a04b17
commit 09b96b148c

View file

@ -246,6 +246,7 @@ namespace SourceGit.ViewModels {
PushCommitMessage();
SetDetail(null, false);
IsCommitting = true;
_repo.SetWatcherEnabled(false);
var succ = await Task.Run(() => new Commands.Commit(_repo.FullPath, _commitMessage, _useAmend).Exec());