Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dan-blanchard
Copy link

Fixes #156 by always using --abbrev=7 in git describe calls to ensure hashes are consistent.

I went with 7 characters, because that's also the length used when using git rev-parse --short HEAD when describe is not available.

This will make sure that the version strings generated by versioneer are consistent across different machines and environments.

(I recently ran into an issue with a development version of dask where the short hash varied between environments)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix number of digits used in abbreviated git commit hashes

1 participant