]> git.cameronkatri.com Git - cgit.git/commit
global: replace hard coded hash length
authorChristian Hesse <mail@eworm.de>
Tue, 20 Oct 2020 21:46:09 +0000 (23:46 +0200)
committerChristian Hesse <mail@eworm.de>
Tue, 20 Oct 2020 21:57:12 +0000 (23:57 +0200)
commita4de0e810b69710c3b32f6d253d80d16dec09f36
treebae0b334de05e134d06b48aeb888a3bf134a705a
parent779631c6dc23c15bbbf45a7c7ab9fffb619037b7
global: replace hard coded hash length

With sha1 we had a guaranteed length of 40 hex chars. This changes now
that we have to support sha256 with 64 hex chars... Support both.

Signed-off-by: Christian Hesse <mail@eworm.de>
filters/commit-links.sh
parsing.c
tests/t0105-commit.sh
ui-patch.c