summaryrefslogtreecommitdiff
path: root/quote.c
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2015-10-07 22:05:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-10-07 22:11:54 (GMT)
commitca9da0d810096e5a2f672b6b9c82a58d1a04ce13 (patch)
treeba28c5733e288288dd666886ae9324f62ea6faf6 /quote.c
parent22f698cb188243b313e024d618283e0293e37140 (diff)
downloadgit-ca9da0d810096e5a2f672b6b9c82a58d1a04ce13.zip
git-ca9da0d810096e5a2f672b6b9c82a58d1a04ce13.tar.gz
git-ca9da0d810096e5a2f672b6b9c82a58d1a04ce13.tar.bz2
quote: fix broken sq_quote_buf() related comment
Since 77d604c (Enhanced sq_quote(), 10 Oct 2005), the comment at the beginning of quote.c is broken. Let's fix it. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.c')
-rw-r--r--quote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/quote.c b/quote.c
index 7920e18..890885a 100644
--- a/quote.c
+++ b/quote.c
@@ -7,6 +7,7 @@ int quote_path_fully = 1;
/* Help to copy the thing properly quoted for the shell safety.
* any single quote is replaced with '\'', any exclamation point
* is replaced with '\!', and the whole thing is enclosed in a
+ * single quote pair.
*
* E.g.
* original sq_quote result