diff options
author | René Scharfe <l.s.r@web.de> | 2019-11-08 21:25:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-10 16:04:36 +0900 |
commit | 89f8cabaf35f8a5f7e893f190764597ad5c44ef9 (patch) | |
tree | 88de4e90685eeac328b61f3bcb1c27bb9010d9a3 /t/t4018 | |
parent | Git 2.24 (diff) | |
download | tgif-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/t4018')
0 files changed, 0 insertions, 0 deletions