mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
feature: clear commit message when toggle off Amend
This commit is contained in:
parent
8ebf4d76d6
commit
0628e3d3f7
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ namespace SourceGit.ViewModels
|
|||
|
||||
CommitMessage = new Commands.QueryCommitFullMessage(_repo.FullPath, currentBranch.Head).Result();
|
||||
}
|
||||
else
|
||||
{
|
||||
CommitMessage = string.Empty;
|
||||
}
|
||||
|
||||
Staged = GetStagedChanges();
|
||||
SelectedStaged = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue