diff options
author | René Scharfe <l.s.r@web.de> | 2017-07-08 10:59:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-09 09:43:01 -0700 |
commit | 50533135622a80b0326c7e93067e136072bef5eb (patch) | |
tree | 0e6c773ec82340927d3479481523a47a48abd939 /levenshtein.c | |
parent | Git 2.13.2 (diff) | |
download | tgif-50533135622a80b0326c7e93067e136072bef5eb.tar.xz |
urlmatch: use hex2chr() in append_normalized_escapes()
Simplify the code by using hex2chr() to convert and check for invalid
characters at the same time instead of doing that sequentially with
one table lookup for each.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'levenshtein.c')
0 files changed, 0 insertions, 0 deletions