refactor: rename Models.Watcher.UpdateSubmodules to Models.Watcher.SetSubmodules

* run `dotnet format`
This commit is contained in:
leo 2024-08-09 11:33:37 +08:00
parent 71d2b295da
commit a75d50bf97
No known key found for this signature in database
7 changed files with 14 additions and 14 deletions

View file

@ -1238,7 +1238,7 @@ namespace SourceGit.ViewModels
App.RaiseException(_repo.FullPath, "Repository has unfinished job! Please wait!");
return;
}
if (string.IsNullOrWhiteSpace(_commitMessage))
{
App.RaiseException(_repo.FullPath, "Commit without message is NOT allowed!");
@ -1264,7 +1264,7 @@ namespace SourceGit.ViewModels
}
}
}
IsCommitting = true;
_repo.Settings.PushCommitMessage(_commitMessage);
_repo.SetWatcherEnabled(false);