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 support for sha1 hashes to the hint kitten #604

Merged
merged 3 commits into from Jun 5, 2018

Conversation

ricci
Copy link
Contributor

@ricci ricci commented Jun 4, 2018

This is specifically intended for git commit hashes, so it allows for
hashes as short as 7 characters (git's default length for abbreviated
hashes) up to the full 40 characters

ricci added 2 commits June 4, 2018 14:25
This is specifically intended for git commit hashes, so it allows for
hashes as short as 7 characters (git's default length for abbreviated
hashes) up to the full 40 characters
@maximbaz
Copy link
Contributor

maximbaz commented Jun 4, 2018

Maybe name it more generically "hash", and allow length up to 128 (for sha512)?

@ricci
Copy link
Contributor Author

ricci commented Jun 4, 2018

@maximbaz I'd be up for that. I was just trying to scratch one specific itch, but I agree that it will be trivial to support other use cases

@kovidgoyal kovidgoyal merged commit da6ad5d into kovidgoyal:master Jun 5, 2018
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.

None yet

3 participants