aboutsummaryrefslogtreecommitdiffstats
path: root/commands/pull.go
diff options
context:
space:
mode:
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