3 ms·
Or what about a pre-commit hook that, instead of transforming the version you're committing, just compares a transformed version to the version you're trying to
by wging 14y ago
Or what about a pre-commit hook that, instead of transforming the version you're committing, just compares a transformed version to the version you're trying to commit? You could warn on commit if they don't match, plus maybe provide an option to override the warning and commit anyway.
- df3n5 14y agoI like this. If someone writes a version which does this let me know and I'll post a link on the post.