mirror of
https://github.com/git/git.git
synced 2026-01-20 15:39:49 +00:00
Add and use a helper function that decodes the char value of two hexadecimal digits. It returns a negative number on error, avoids running over the end of the given string and doesn't shift negative values. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2.4 KiB
2.4 KiB