GitRepo.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 13:13:07 +0000 (21:13 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 13:13:07 +0000 (21:13 +0800)
GitRepo.vala

index 4a2660f..f391001 100644 (file)
@@ -17,7 +17,7 @@ public class GitRepo : Object
     */
      public static int indexOfAdd( Array<GitRepo> repos, string gitpath) {
         for(var i =0; i < repos.length; i++) {
-            if (reos.index(i).gitpath == gitpath) {
+            if (reos.index(i).gitdir == gitpath) {
                 return i;
             }
         }