aboutsummaryrefslogtreecommitdiffstats
path: root/commands/push.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/push.go')
-rw-r--r--commands/push.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/push.go b/commands/push.go
index d45e301a..254bbb27 100644
--- a/commands/push.go
+++ b/commands/push.go
@@ -9,9 +9,7 @@ import (
"github.com/MichaelMure/git-bug/commands/execenv"
)
-func newPushCommand() *cobra.Command {
- env := execenv.NewEnv()
-
+func newPushCommand(env *execenv.Env) *cobra.Command {
cmd := &cobra.Command{
Use: "push [REMOTE]",
Short: "Push updates to a git remote",