GitRepo.vala
[gitlive] / GitRepo.vala
index c84bea2..3986b22 100644 (file)
@@ -163,6 +163,10 @@ public class GitRepo : Object
         
     public bool is_ignore(string fname) throws Error, SpawnError
     {
+               if (fname == ".gitignore") {
+                       this.ignore_files.clear();
+               }
+               
                if (this.ignore_files.has_key(fname)) {
                        return this.ignore_files.get(fname);
                }