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

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

From
Christian Couder <christian.couder@gmail.com>
Date
Oct 3, 2015, 19:10 UTC
Message-ID
<1443899447-8665-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.
---
 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.rc2.23.g0e57679
Next: Christian Couder
Message 1 of 2 in “quote: fix broken sq_quote_buf() related comment”
  1. 1/2 quote: fix broken sq_quote_buf() related commentChristian Couder, Oct 3, 2015
  2. 2/2 quote: move comment before sq_quote_buf()Christian Couder, Oct 3, 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.