summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-08 06:59:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-08 06:59:22 (GMT)
commit1ac0ce4d32ab7a3546e7e84a562625576208c7db (patch)
tree23ebffb680b2fe7b69453bb55d8170f69d767a69 /git-compat-util.h
parent7d7d051c5e2b9f70adfe5538bd9ccbf60f35d4be (diff)
parente92d6225361eba5ff34696122d1491dc7ace2a5a (diff)
downloadgit-1ac0ce4d32ab7a3546e7e84a562625576208c7db.zip
git-1ac0ce4d32ab7a3546e7e84a562625576208c7db.tar.gz
git-1ac0ce4d32ab7a3546e7e84a562625576208c7db.tar.bz2
Merge branch 'ls/checkout-encoding'
The new "checkout-encoding" attribute can ask Git to convert the contents to the specified encoding when checking out to the working tree (and the other way around when checking in). * ls/checkout-encoding: convert: add round trip check based on 'core.checkRoundtripEncoding' convert: add tracing for 'working-tree-encoding' attribute convert: check for detectable errors in UTF encodings convert: add 'working-tree-encoding' attribute utf8: add function to detect a missing UTF-16/32 BOM utf8: add function to detect prohibited UTF-16/32 BOM utf8: teach same_encoding() alternative UTF encoding names strbuf: add a case insensitive starts_with() strbuf: add xstrdup_toupper() strbuf: remove unnecessary NUL assignment in xstrdup_tolower()
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 07e3832..f1d7ada 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -455,6 +455,7 @@ extern void (*get_warn_routine(void))(const char *warn, va_list params);
extern void set_die_is_recursing_routine(int (*routine)(void));
extern int starts_with(const char *str, const char *prefix);
+extern int istarts_with(const char *str, const char *prefix);
/*
* If the string "str" begins with the string found in "prefix", return 1.