X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=GitRepo.vala;h=3986b22d57f878faeb3cc9998b9a058af933069c;hb=cdb16ef3ba7227e2e80254ca76488fd37a11be63;hp=c84bea27ce1773458467ab38029ac643531ffaf7;hpb=8161cff4a424632b9f08a329433980575e82cfec;p=gitlive diff --git a/GitRepo.vala b/GitRepo.vala index c84bea27..3986b22d 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -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); }