Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
contrib/hooks/post-receive-email: make subject prefix configurable
[gitweb.git]
/
quote.c
diff --git
a/quote.c
b/quote.c
index 482be05b7af159b9b47095fedfbdfa3bda65c748..919d0920abfc0bd2becbcc35fd065514b9651281 100644
(file)
--- a/
quote.c
+++ b/
quote.c
@@
-26,7
+26,7
@@
void sq_quote_buf(struct strbuf *dst, const char *src)
strbuf_addch(dst, '\'');
while (*src) {
- size_t len = strcspn(src, "'
\\
");
+ size_t len = strcspn(src, "'
!
");
strbuf_add(dst, src, len);
src += len;
while (need_bs_quote(*src)) {