Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: Enhancement: Recurse more go commands by default #35434

Closed
mcandre opened this issue Nov 7, 2019 · 2 comments
Closed

cmd/go: Enhancement: Recurse more go commands by default #35434

mcandre opened this issue Nov 7, 2019 · 2 comments

Comments

@mcandre
Copy link

@mcandre mcandre commented Nov 7, 2019

Users new and old may forget to explicitly recurse various Go commands with the ./... syntax. Could we enable this recursing behavior by default, e.g. for go build, go install, go test?

@ianlancetaylor ianlancetaylor changed the title Enhancement: Recurse more go commands by default cmd/go: Enhancement: Recurse more go commands by default Nov 7, 2019
@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Nov 7, 2019

That would be a surprising change in behavior. The tool has to default to recursing or not recursing. It seems to me that not recursing is a reasonable default. I don't see a strong reason to change the default.

@jayconrod

This comment has been minimized.

Copy link
Contributor

@jayconrod jayconrod commented Nov 7, 2019

Closing for the reasons @ianlancetaylor gave. Changing the default would break people's workflows.

@jayconrod jayconrod closed this Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.