summaryrefslogtreecommitdiff
path: root/git-sh-setup.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-28 22:20:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-28 22:29:37 (GMT)
commit0f871cf56e83d13116b021295688e57f26bbf93d (patch)
treec4b1f607c57ab69aa9d7a17fc690caf4e4dbf67d /git-sh-setup.sh
parentd0482e88a735787f7bb33ef4783be0e7f6a70946 (diff)
downloadgit-0f871cf56e83d13116b021295688e57f26bbf93d.zip
git-0f871cf56e83d13116b021295688e57f26bbf93d.tar.gz
git-0f871cf56e83d13116b021295688e57f26bbf93d.tar.bz2
grep: use static trans-case table
In order to prepare the kwset machinery for a case-insensitive search, we used to use a static table of 256 elements and filled it every time before calling kwsalloc(). Because the kwset machinery will never modify this table, just allocate a single instance globally and fill it at the compile time. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-sh-setup.sh')
0 files changed, 0 insertions, 0 deletions