fix: do NOT delete .git/rebase-merge and .git/rebase-apply folders (#509)

This commit is contained in:
leo 2024-09-24 18:19:22 +08:00
parent b9597dc92a
commit d1d913aa45
No known key found for this signature in database

View file

@ -855,14 +855,6 @@ namespace SourceGit.ViewModels
{ {
inProgress = new MergeInProgress(_fullpath); inProgress = new MergeInProgress(_fullpath);
} }
else
{
if (Directory.Exists(rebaseMergeFolder))
Directory.Delete(rebaseMergeFolder, true);
if (Directory.Exists(rebaseApplyFolder))
Directory.Delete(rebaseApplyFolder, true);
}
Dispatcher.UIThread.Invoke(() => Dispatcher.UIThread.Invoke(() =>
{ {