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 37479bfd..e2c29c68 100644
--- a/commands/push.go
+++ b/commands/push.go
@@ -16,9 +16,10 @@ func runPush(cmd *cobra.Command, args []string) error {
remote = args[0]
}
- if err := repo.PushRefs(remote, bug.BugsRefPattern+"*"); err != nil {
+ if err := bug.Push(repo, remote); err != nil {
return err
}
+
return nil
}