diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-19 21:13:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-19 21:13:13 +0100 |
commit | dcf3feb0b5a30de47a29557c63cf3d67602753ee (patch) | |
tree | 0e7f3a6b94974869b4eaae40c6bf39a1214dc855 /cache/bug_cache.go | |
parent | 22085f30d3ddb51f8192c0776cf4c82749ab2cab (diff) | |
parent | d6d5978b6dbba1adffd91ff8b86bd5e8465978f5 (diff) | |
download | git-bug-dcf3feb0b5a30de47a29557c63cf3d67602753ee.tar.gz |
Merge pull request #254 from MichaelMure/import-events
Bridge: correctly emit NothingEvents
Diffstat (limited to 'cache/bug_cache.go')
-rw-r--r-- | cache/bug_cache.go | 4 |
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() +} |