aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug_actions.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-31 13:18:03 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-31 17:22:10 +0200
commit7397c94d993541b33e555b758ebdb8f61ff33c6c (patch)
treedbdc52bb6efa03791e5ca84bc8695da5103524d2 /bug/bug_actions.go
parent116a94401f0d3fbf79f7e20716b1c7b739e33246 (diff)
downloadgit-bug-7397c94d993541b33e555b758ebdb8f61ff33c6c.tar.gz
make CLI commands use the cache to lock the repo properly
Diffstat (limited to 'bug/bug_actions.go')
-rw-r--r--bug/bug_actions.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bug/bug_actions.go b/bug/bug_actions.go
index 784397b0..31e9c07d 100644
--- a/bug/bug_actions.go
+++ b/bug/bug_actions.go
@@ -25,6 +25,7 @@ func Push(repo repository.Repo, remote string) (string, error) {
return repo.PushRefs(remote, bugsRefPattern+"*")
}
+// TODO: return a chan of changes for the cache to be updated properly
func Pull(repo repository.Repo, out io.Writer, remote string) error {
if out == nil {
out = ioutil.Discard