-
Notifications
You must be signed in to change notification settings - Fork 27
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
glock should detect uncommitted changes #9
Comments
Does this capability also apply to all dependencies? If a dependency isn't in a clean state then it's even worse than the main repo because it's out of sight and harder to detect. |
Yeah, I meant dependencies, not the main repo. (Frequently the main repo is dirty with in-progress changes) |
It makes sense for It's basically the equivalent of using gostatus in the following way: # Legend:
# b - Non-master branch checked out
# * - Uncommited changes in working dir
# Show status of all dependencies (recursive) of package in cur working dir.
go list -f '{{join .Deps "\n"}}' . | gostatus --all And making sure none of the dependencies have
Also, FWIW, |
Very cool, thanks for the links |
Presently glock only reads the currently checked-out commit, and it reports [OK] if there are uncommitted changes. Instead, it should report uncommitted changes as an error that the user should resolve
The text was updated successfully, but these errors were encountered: