Browse Source
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>maint
René Scharfe
8 years ago
committed by
Junio C Hamano
6 changed files with 21 additions and 78 deletions
Loading…
Reference in new issue