]> git.ipfire.org Git - thirdparty/git.git/commit - grep.c
grep/pcre: prepare locale-dependent tables for icase matching
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 25 Jun 2016 05:22:33 +0000 (07:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Jul 2016 19:44:57 +0000 (12:44 -0700)
commit9d9babb84d45234132f3cb1f4527ce1106e3d2ec
treed087573f2adde39ba70c0c864a01962fbbe8e67c
parente944d9d932b3653debcfdd16eec2721eed0670e5
grep/pcre: prepare locale-dependent tables for icase matching

The default tables are usually built with C locale and only suitable
for LANG=C or similar.  This should make case insensitive search work
correctly for all single-byte charsets.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c
grep.h
t/t7813-grep-icase-iso.sh [new file with mode: 0755]