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

add flag to avoid version reset #13

Open
rogpeppe opened this issue Aug 21, 2018 · 2 comments
Open

add flag to avoid version reset #13

rogpeppe opened this issue Aug 21, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@rogpeppe
Copy link
Owner

When we've previously checked out a version of a dependency in a gohack module dir and we want to keep that version instead of switching to the version specified in the go.mod file, it would be nice to have a flag to do that instead of running gohack and then switching back.

@corona10
Copy link

corona10 commented Oct 7, 2018

How about creating a new command?

$> gohack commit or gohack commit --all
$> gohack commit <specific_package>

@rogpeppe
Copy link
Owner Author

rogpeppe commented Oct 7, 2018

What would you expect that commit command to do?

@rogpeppe rogpeppe added the enhancement New feature or request label Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants