From d1d913aa45e29b96f36b6189becec5535caf895a Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 24 Sep 2024 18:19:22 +0800 Subject: [PATCH] fix: do NOT delete .git/rebase-merge and .git/rebase-apply folders (#509) --- src/ViewModels/Repository.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/ViewModels/Repository.cs b/src/ViewModels/Repository.cs index 42d26f94..9eb16c18 100644 --- a/src/ViewModels/Repository.cs +++ b/src/ViewModels/Repository.cs @@ -855,14 +855,6 @@ namespace SourceGit.ViewModels { inProgress = new MergeInProgress(_fullpath); } - else - { - if (Directory.Exists(rebaseMergeFolder)) - Directory.Delete(rebaseMergeFolder, true); - - if (Directory.Exists(rebaseApplyFolder)) - Directory.Delete(rebaseApplyFolder, true); - } Dispatcher.UIThread.Invoke(() => {