mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-23 01:36:57 -08:00
fix<Dashboard>: fix crash reported by https://gitee.com/sourcegit/sourcegit/issues/I44XU1
This commit is contained in:
parent
21df028601
commit
eb2c07b2b6
1 changed files with 1 additions and 1 deletions
|
@ -1102,7 +1102,7 @@ namespace SourceGit.Views.Widgets {
|
|||
if (Directory.Exists(rebaseTempFolder)) Directory.Delete(rebaseTempFolder);
|
||||
|
||||
var rebaseFile = Path.Combine(repo.GitDir, "REBASE_HEAD");
|
||||
if (File.Exists(rebaseFile)) Directory.Delete(rebaseFile);
|
||||
if (File.Exists(rebaseFile)) File.Delete(rebaseFile);
|
||||
|
||||
var rebaseMergeFolder = Path.Combine(repo.GitDir, "rebase-merge");
|
||||
if (Directory.Exists(rebaseMergeFolder)) Directory.Delete(rebaseMergeFolder);
|
||||
|
|
Loading…
Reference in a new issue