diff --git a/go/cmd/dolt/commands/stashcmds/pop.go b/go/cmd/dolt/commands/stashcmds/pop.go index a75c5d6b76..597b67457c 100644 --- a/go/cmd/dolt/commands/stashcmds/pop.go +++ b/go/cmd/dolt/commands/stashcmds/pop.go @@ -104,7 +104,7 @@ func (cmd StashPopCmd) Exec(ctx context.Context, commandStr string, args []strin return handleStashPopErr(usage, err) } - ret := commands.StatusCmd{}.Exec(ctx, "status", []string{}, dEnv, nil) + ret := commands.StatusCmd{}.Exec(ctx, "status", []string{}, dEnv, cliCtx) if ret != 0 || !success { cli.Println("The stash entry is kept in case you need it again.") return 1 diff --git a/go/cmd/dolt/dolt.go b/go/cmd/dolt/dolt.go index f0a7111995..6aef4f7cf9 100644 --- a/go/cmd/dolt/dolt.go +++ b/go/cmd/dolt/dolt.go @@ -162,7 +162,6 @@ var commandsWithoutCliCtx = []cli.Command{ dumpDocsCommand, dumpZshCommand, docscmds.Commands, - stashcmds.StashCommands, &commands.Assist{}, }