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

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