diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-03-07 12:12:59 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-07 12:12:59 -0800 |
commit | 1e4d0875acbce3c881bc1de66c8900cdc240ebe8 (patch) | |
tree | 1f8ebc2181351b54d600b16a1ec1434e51049352 /git-compat-util.h | |
parent | 713194ce54ea67d3fc666ef81aaece16d0e44928 (diff) | |
parent | f1589d100796c58615033dde10c1c6446b814357 (diff) | |
download | git-1e4d0875acbce3c881bc1de66c8900cdc240ebe8.tar.gz |
Merge branch 'jc/pickaxe-ignore-case'
By Junio C Hamano (2) and Ramsay Jones (1)
* jc/pickaxe-ignore-case:
ctype.c: Fix a sparse warning
pickaxe: allow -i to search in patch case-insensitively
grep: use static trans-case table
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index 426ae43be9..ed11ad8119 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -457,6 +457,9 @@ static inline int has_extension(const char *filename, const char *ext) return len > extlen && !memcmp(filename + len - extlen, ext, extlen); } +/* in ctype.c, for kwset users */ +extern const char tolower_trans_tbl[256]; + /* Sane ctype - no locale, and works with signed chars */ #undef isascii #undef isspace |