diff --git a/src/ViewModels/WorkingCopy.cs b/src/ViewModels/WorkingCopy.cs index ef57ec2b..a1230715 100644 --- a/src/ViewModels/WorkingCopy.cs +++ b/src/ViewModels/WorkingCopy.cs @@ -82,6 +82,10 @@ namespace SourceGit.ViewModels CommitMessage = new Commands.QueryCommitFullMessage(_repo.FullPath, currentBranch.Head).Result(); } + else + { + CommitMessage = string.Empty; + } Staged = GetStagedChanges(); SelectedStaged = [];