mirror of
https://github.com/git/git.git
synced 2024-05-13 02:56:30 +02:00
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>
This commit is contained in:
parent
22f698cb18
commit
ca9da0d810
1
quote.c
1
quote.c
|
@ -7,6 +7,7 @@ int quote_path_fully = 1;
|
||||||
/* Help to copy the thing properly quoted for the shell safety.
|
/* Help to copy the thing properly quoted for the shell safety.
|
||||||
* any single quote is replaced with '\'', any exclamation point
|
* any single quote is replaced with '\'', any exclamation point
|
||||||
* is replaced with '\!', and the whole thing is enclosed in a
|
* is replaced with '\!', and the whole thing is enclosed in a
|
||||||
|
* single quote pair.
|
||||||
*
|
*
|
||||||
* E.g.
|
* E.g.
|
||||||
* original sq_quote result
|
* original sq_quote result
|
||||||
|
|
Loading…
Reference in New Issue