aboutsummaryrefslogtreecommitdiffstats
path: root/commands/pull.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-13 21:21:24 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-13 21:21:24 +0200
commit1779a0f3b92d58654b43444addeaf437a64d77a8 (patch)
tree9f973413454894f0456d7379425070d468712242 /commands/pull.go
parent289f8d53ee960d35c1f0c42e8753ad536737b875 (diff)
downloadgit-bug-1779a0f3b92d58654b43444addeaf437a64d77a8.tar.gz
serialize a Bug to git as a blob+tree+commit+ref
Diffstat (limited to 'commands/pull.go')
-rw-r--r--commands/pull.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/pull.go b/commands/pull.go
index 20009a00..b3541c0f 100644
--- a/commands/pull.go
+++ b/commands/pull.go
@@ -3,6 +3,7 @@ package commands
import (
"errors"
"fmt"
+ "github.com/MichaelMure/git-bug/bug"
"github.com/MichaelMure/git-bug/repository"
)
@@ -16,7 +17,7 @@ func pull(repo repository.Repo, args []string) error {
remote = args[0]
}
- if err := repo.PullRefs(remote, bugsRefPattern); err != nil {
+ if err := repo.PullRefs(remote, bug.BugsRefPattern+"*"); err != nil {
return err
}
return nil