[PATCH 2/2] global: replace hard coded hash length

Jason A. Donenfeld Jason at zx2c4.com
Thu Oct 22 00:06:02 CEST 2020


On Wed, Oct 21, 2020 at 9:37 PM Christian Hesse <list at eworm.de> wrote:
>
> "Jason A. Donenfeld" <Jason at zx2c4.com> on Wed, 2020/10/21 17:35:
> > Thanks! I've applied these. Next step I guess will be adding some
> > sha256 repos to the test suite.
>
> How complex do you want these tests to be?

For now, we just want to set up a sha256 repo and see that the html
correctly spits out the hashes as expected.

Later when git enables mixed object repos and dual addressiblity,
we'll want to confirm that cgit responds to both types of hashes
gracefully, and displays whichever one upstream decides is canonical
in a given situation.


More information about the CGit mailing list