1 parent 6f670b1 commit 87a506cCopy full SHA for 87a506c
1 file changed
src/Native/Linux.cs
@@ -48,25 +48,7 @@ public string GetDataDir()
48
49
// Runtime data dir: ~/.sourcegit
50
var home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
51
- var dataDir = Path.Combine(home, ".sourcegit");
52
- if (Directory.Exists(dataDir))
53
- return dataDir;
54
-
55
- // Migrate old data: ~/.config/SourceGit
56
- var oldDataDir = Path.Combine(home, ".config", "SourceGit");
57
- if (Directory.Exists(oldDataDir))
58
- {
59
- try
60
61
- Directory.Move(oldDataDir, dataDir);
62
- }
63
- catch
64
65
- // Ignore errors
66
67
68
69
+ return Path.Combine(home, ".sourcegit");
70
}
71
72
public string FindGitExecutable()
0 commit comments