]> git.ipfire.org Git - thirdparty/git.git/blobdiff - quote.h
quote_path: optionally allow quoting a path with SP in it
[thirdparty/git.git] / quote.h
diff --git a/quote.h b/quote.h
index 4687b5daf491e47945d8eb627952aa79ef0803ec..1918d1e00ec7d595082b5c9cda2640257c2b7ba2 100644 (file)
--- a/quote.h
+++ b/quote.h
@@ -73,6 +73,7 @@ void write_name_quoted_relative(const char *name, const char *prefix,
 
 /* quote path as relative to the given prefix */
 char *quote_path(const char *in, const char *prefix, struct strbuf *out, unsigned flags);
+#define QUOTE_PATH_QUOTE_SP 01
 
 /* quoting as a string literal for other languages */
 void perl_quote_buf(struct strbuf *sb, const char *src);