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

index 7a4bda0..bf043f5 100644 (file)
@@ -277,10 +277,10 @@ public class GitMonitor : Monitor
             var cmd = cmds.index(i);
         
             var gitpath = cmd.gitpath; 
-            var ix  = GitRepo.indexOf(this.repos,  cmd.gitpath);
+            var ix  = GitRepo.indexOf(repos,  cmd.gitpath);
             if (ix < 0) {
                 repo_list.append_val(new GitRepo( gitpath ));
-                ix = GitRepo.indexOf(this.repos,  cmd.gitpath);
+                ix = GitRepo.indexOf(repos,  cmd.gitpath);
             }