aboutsummaryrefslogtreecommitdiffstats
path: root/commands/push.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/push.go')
-rw-r--r--commands/push.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/push.go b/commands/push.go
index 9b808511..54a657b9 100644
--- a/commands/push.go
+++ b/commands/push.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 push(repo repository.Repo, args []string) error {
remote = args[0]
}
- if err := repo.PushRefs(remote, bugsRefPattern); err != nil {
+ if err := repo.PushRefs(remote, bug.BugsRefPattern+"*"); err != nil {
return err
}
return nil