summaryrefslogtreecommitdiff
path: root/t/t7519
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2019-11-08 21:25:21 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-10 16:04:36 +0900
commit89f8cabaf35f8a5f7e893f190764597ad5c44ef9 (patch)
tree88de4e90685eeac328b61f3bcb1c27bb9010d9a3 /t/t7519
parentGit 2.24 (diff)
downloadtgif-89f8cabaf35f8a5f7e893f190764597ad5c44ef9.tar.xz
utf8: use skip_iprefix() in same_utf_encoding()
Get rid of magic numbers by using skip_iprefix() and skip_prefix() for parsing the leading "[uU][tT][fF]-?" of both strings instead of checking with istarts_with() and an explicit comparison. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7519')
0 files changed, 0 insertions, 0 deletions