tokkee.org
Code
projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support 'push --dry-run' for http transport
[git.git]
/
quote.c
diff --git
a/quote.c
b/quote.c
index 800fd88c9ae9979bf44c91fea54c092cdafdb33c..482be05b7af159b9b47095fedfbdfa3bda65c748 100644
(file)
--- a/
quote.c
+++ b/
quote.c
@@
-22,7
+22,7
@@
void sq_quote_buf(struct strbuf *dst, const char *src)
char *to_free = NULL;
if (dst->buf == src)
- to_free = strbuf_detach(dst);
+ to_free = strbuf_detach(dst
, NULL
);
strbuf_addch(dst, '\'');
while (*src) {