-
Notifications
You must be signed in to change notification settings - Fork 46
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
error: unable to commit to git #60
Comments
Can you please paste the full message? |
ma@mahlbox: ~/work/fpdec.rs > cargo ws version minor Changes:
✔ Are you sure you want to create these versions? · yes |
The changes are committed:
A CHANGES.TXT |
What are those? The git command got error which is why it was complaining. |
The tree Cargo.toml files are the files modified by cargo-workspace. |
Note: |
The output you mentioned above is created by a post-commit hook I have installed to be executed by git after each commit. |
Currently a non-empty output on stderror after calling git commit is treated as an error, although the call to git exited with code 0. This prohibits - for example - git hooks from outputting informational messages (these seem to go to stderror by default). |
Proposed fix:
|
When running 'cargo ws version minor' I get a message 'error: unable to commit to git, out = [main 33d1199] Release ...'.
Nonetheless the intended changes of the versions in all Cargo.toml files are done and committed.
But no tag is generated in git!
I'm using cargo-workspaces version 0.2.28.
The text was updated successfully, but these errors were encountered: