From f7025639e6e0d1f2adcd0f44ba399c14c9c9d70c Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 29 Apr 2010 11:12:15 +0100 Subject: [PATCH] don't hardcode home dir --- src/SparklePony.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/SparklePony.cs b/src/SparklePony.cs index 60d7069b..d759648e 100644 --- a/src/SparklePony.cs +++ b/src/SparklePony.cs @@ -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";