From cdb16ef3ba7227e2e80254ca76488fd37a11be63 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 25 Aug 2017 13:35:55 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 2.39.2