From: Alan Knowles Date: Fri, 25 Aug 2017 05:35:55 +0000 (+0800) Subject: GitRepo.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=cdb16ef3ba7227e2e80254ca76488fd37a11be63 GitRepo.vala --- 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); }