]> granicus.if.org Git - git/commitdiff
quote: fix broken sq_quote_buf() related comment
authorChristian Couder <christian.couder@gmail.com>
Wed, 7 Oct 2015 22:05:49 +0000 (00:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Oct 2015 22:11:54 +0000 (15:11 -0700)
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>
quote.c

diff --git a/quote.c b/quote.c
index 7920e18e44834f1f86c218c172ae10227858ed66..890885a73607b46e6696b17211b58327c3fa0627 100644 (file)
--- 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