Diff options
authorChristian Hesse <mail@eworm.de>
committerChristian Hesse <mail@eworm.de>
commit
parent
tree
download
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>
-rwxr-xr-xfilters/commit-links.sh2
-rw-r--r--parsing.c5
-rwxr-xr-xtests/t0105-commit.sh2
-rw-r--r--ui-patch.c2
4 files changed, 5 insertions, 6 deletions