Skip to content

Commit d87716d

Browse files
committed
fix: disable removing repository at startup (#90)
1 parent d46979a commit d87716d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ViewModels/Preference.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public static Preference Instance
3737
}
3838
}
3939

40-
_instance.Repositories.RemoveAll(x => !Directory.Exists(x.FullPath));
40+
// It will cause some issue on Linux. See https://github.com/sourcegit-scm/sourcegit/issues/99
41+
// _instance.Repositories.RemoveAll(x => !Directory.Exists(x.FullPath));
4142

4243
if (_instance.DefaultFont == null)
4344
{

0 commit comments

Comments
 (0)