enhance: mark working copy dirty after stash changes (#411)

This commit is contained in:
leo
2024-08-26 18:05:57 +08:00
parent 0074ea3c60
commit 110858eaa2

View File

@@ -57,7 +57,11 @@ namespace SourceGit.ViewModels
return Task.Run(() =>
{
new Commands.Stash(_repo.FullPath).Push(jobs, Message);
CallUIThread(() => _repo.SetWatcherEnabled(true));
CallUIThread(() =>
{
_repo.MarkWorkingCopyDirtyManually();
_repo.SetWatcherEnabled(true);
});
return true;
});
}