diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-08-25 01:32:37 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-25 01:32:37 +0300 |
commit | bda891e6647538693d6cec5d3085f1508fbb5f5f (patch) | |
tree | 70992fb2e373ecd84fb5923b76c44aa83aeba532 /quote.h | |
parent | 5c933f0155959452f299cd4a0a65fe22b5c239be (diff) | |
parent | b9dee075eb07713a49922f7e1f90a6a9de5c5e5f (diff) |
Merge branch 'zh/ref-filter-raw-data'
Prepare the "ref-filter" machinery that drives the "--format"
option of "git for-each-ref" and its friends to be used in "git
cat-file --batch".
* zh/ref-filter-raw-data:
ref-filter: add %(rest) atom
ref-filter: use non-const ref_format in *_atom_parser()
ref-filter: --format=%(raw) support --perl
ref-filter: add %(raw) atom
ref-filter: add obj-type check in grab contents
Diffstat (limited to 'quote.h')
-rw-r--r-- | quote.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |