]> git.ipfire.org Git - thirdparty/git.git/blobdiff - quote.h
reftable: add a test that verifies that writing empty keys fails
[thirdparty/git.git] / quote.h
diff --git a/quote.h b/quote.h
index 049d8dd0b3d7e42547ef42b460dcaaf95a412a68..87ff458b06dd6430855b39f6cb4833664e630746 100644 (file)
--- a/quote.h
+++ b/quote.h
@@ -95,6 +95,7 @@ char *quote_path(const char *in, const char *prefix, struct strbuf *out, unsigne
 
 /* quoting as a string literal for other languages */
 void perl_quote_buf(struct strbuf *sb, const char *src);
+void perl_quote_buf_with_len(struct strbuf *sb, const char *src, size_t len);
 void python_quote_buf(struct strbuf *sb, const char *src);
 void tcl_quote_buf(struct strbuf *sb, const char *src);
 void basic_regex_quote_buf(struct strbuf *sb, const char *src);