GitMonitor.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 14:04:45 +0000 (22:04 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 14:04:45 +0000 (22:04 +0800)
GitMonitor.vala

index 7afb814..6a54ac1 100644 (file)
@@ -261,7 +261,7 @@ public class GitMonitor : Monitor
         
         string[] success = {};
         string[] failure = {};
-        var repos = new Array<GitRepo>(); //??
+       //var repos = new Array<GitRepo>(); //??
         var done = new Array<GitMonitorQueue>();
         
         // first build a array of repo's to work with
@@ -277,7 +277,7 @@ public class GitMonitor : Monitor
             var cmd = cmds.index(i);
         
             var gitpath = cmd.gitpath; 
-            var ix  = GitRepo.indexOf(repos,  cmd.gitpath);
+            var ix  = GitRepo.indexOf(repos_list,  cmd.gitpath);
             if (ix < 0) {
                 repo_list.append_val(new GitRepo( gitpath ));
                 ix = GitRepo.indexOf(repo_list,  cmd.gitpath);