### Needs and benefits
Currently, seven digit short git hashes are supported in the `/commit` route but six digit hashes return a 404.
So, for example, this works:
https://codeberg.org/kitten/app/commit/90bb2ba
But this does not:
https://codeberg.org/kitten/app/commit/90bb2b
In [Kitten](https://codeberg.org/kitten/app), we expose six digit hashes as they correspond to the Kitten’s favourite CSS colour (yes, it’s just a bit of fun/character) and [kittens.small-web.org](https://kittens.small-web.org) links to commits on Codeberg using this. These are currently 404ing.
![Screenshot of Kitten CLI, showing the current version with sixel illustration of a minimalist grey cat sitting on a hill in front of a blue sky: Kitten by Aral Balkan, Small Technology Foundation. Version 1-15c5ba-20.7.0-20231112202329. Born 2023/11/12 at 20:23:29 UTC (Scorpio). Fav. colour #15c5ba. API version 1. Runtime Node.js 20.7.0…](/attachments/88f72f3d-51f9-4e20-bb32-fb6009f17af4)
Given its a tiny change I was wondering if you’d consider updating the route to support six-digit and above short hashes instead of seven.
### Feature Description
Update /commit route so it accepts short git hashes of 6 digits or more instead of 7 digits and more.
### Other implementations
Here’s a six digit short hash working on GitHub:
https://github.com/bigskysoftware/htmx/commit/f71638