mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-11 23:57:21 -08: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();
|
CommitMessage = new Commands.QueryCommitFullMessage(_repo.FullPath, currentBranch.Head).Result();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
CommitMessage = string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
Staged = GetStagedChanges();
|
Staged = GetStagedChanges();
|
||||||
SelectedStaged = [];
|
SelectedStaged = [];
|
||||||
|
|
Loading…
Reference in a new issue