aboutsummaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authoramine <hilalyamine@gmail.com>2019-11-18 01:31:43 +0100
committeramine <hilalyamine@gmail.com>2019-11-19 19:54:07 +0100
commit8b5685bb9903f4db5c7375aa4ace83772f5d757b (patch)
tree1b3094aa6c0c790e49244907f8ac1ea1df2dabc6 /cache
parente01cefff9826589b77bd34464301f196112d68f7 (diff)
downloadgit-bug-8b5685bb9903f4db5c7375aa4ace83772f5d757b.tar.gz
bridge/github: importer corectly emit events
Diffstat (limited to 'cache')
-rw-r--r--cache/bug_cache.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cache/bug_cache.go b/cache/bug_cache.go
index 6a220f49..6026190f 100644
--- a/cache/bug_cache.go
+++ b/cache/bug_cache.go
@@ -265,3 +265,7 @@ func (c *BugCache) CommitAsNeeded() error {
}
return c.notifyUpdated()
}
+
+func (c *BugCache) NeedCommit() bool {
+ return c.bug.NeedCommit()
+}