git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 1/2] quote: fix broken sq_quote_buf() related comment

From
Christian Couder <christian.couder@gmail.com>
Date
Oct 7, 2015, 22:05 UTC
Message-ID
<1444255550-27631-1-git-send-email-chriscool@tuxfamily.org>

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>
---
The only change in this v2 is the added Signed-off-by ;-)
Sorry for the spam.
 quote.c | 1 +
 1 file changed, 1 insertion(+)
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
-- 
2.6.0
Next: Christian Couder
Message 1 of 3 in “quote: fix broken sq_quote_buf() related comment”
  1. 1/2 quote: fix broken sq_quote_buf() related commentChristian Couder, Oct 7, 2015
  2. 2/2 quote: move comment before sq_quote_buf()Christian Couder, Oct 7, 2015
  3. Junio C HamanoOct 7, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.