mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
enhance: reset commit message after a merge request has been aborted
This commit is contained in:
parent
1509b8ab70
commit
df66bacbd2
2 changed files with 7 additions and 3 deletions
|
@ -511,7 +511,11 @@ namespace SourceGit.ViewModels
|
|||
if (_inProgressContext != null)
|
||||
{
|
||||
SetWatcherEnabled(false);
|
||||
await Task.Run(_inProgressContext.Abort);
|
||||
var succ = await Task.Run(_inProgressContext.Abort);
|
||||
if (succ && _workingCopy != null)
|
||||
{
|
||||
_workingCopy.CommitMessage = string.Empty;
|
||||
}
|
||||
SetWatcherEnabled(true);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue