don't hardcode home dir
This commit is contained in:
parent
107180d319
commit
f7025639e6
|
@ -113,7 +113,6 @@ public class SparklePonyUI {
|
|||
string [] Folders = Directory.GetDirectories (FoldersPath);
|
||||
Repositories = new Repository [Folders.Length];
|
||||
|
||||
|
||||
int i = 0;
|
||||
foreach (string Folder in Folders) {
|
||||
Repositories [i] = new Repository (Folder);
|
||||
|
@ -243,7 +242,6 @@ public class Repository {
|
|||
else
|
||||
Domain = Domain.Substring (0, Domain.IndexOf ("/"));
|
||||
|
||||
|
||||
// Get hash of the current commit
|
||||
Process.StartInfo.FileName = "git";
|
||||
Process.StartInfo.Arguments = "rev-list --max-count=1 HEAD";
|
||||
|
|
Loading…
Reference in a new issue