don't hardcode home dir

This commit is contained in:
Hylke Bons 2010-04-29 11:12:15 +01:00
parent 107180d319
commit f7025639e6

View file

@ -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";