diff mbox series

[6/7] git-sparse-checkout.txt: add missing '

Message ID 69faf4d317547143f455321c5a70575cb7b0b0ad.1589739920.git.martin.agren@gmail.com (mailing list archive)
State New, archived
Headers show
Series Documentation fixes for v2.27.0-rc0 | expand

Commit Message

Martin Ågren May 17, 2020, 6:52 p.m. UTC
Where we explain the 'reapply' command, we don't properly wrap it in
single quote marks like we do with the other commands: We omit the
closing mark ("'reapply") and this ends up being rendered literally as
"'reapply". Add the missing "'".

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 Documentation/git-sparse-checkout.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Derrick Stolee May 18, 2020, 2:46 p.m. UTC | #1
On 5/17/2020 2:52 PM, Martin Ågren wrote:
> Where we explain the 'reapply' command, we don't properly wrap it in
> single quote marks like we do with the other commands: We omit the
> closing mark ("'reapply") and this ends up being rendered literally as
> "'reapply". Add the missing "'".
> 
> Signed-off-by: Martin Ågren <martin.agren@gmail.com>
> ---
>  Documentation/git-sparse-checkout.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/git-sparse-checkout.txt b/Documentation/git-sparse-checkout.txt
> index 1a3ace6082..7c8943af7a 100644
> --- a/Documentation/git-sparse-checkout.txt
> +++ b/Documentation/git-sparse-checkout.txt
> @@ -70,7 +70,7 @@ C-style quoted strings.
>  	`core.sparseCheckoutCone` is enabled, the given patterns are interpreted
>  	as directory names as in the 'set' subcommand.
>  
> -'reapply::
> +'reapply'::

Subtle! But good catch. Thanks!

-Stolee
diff mbox series

Patch

diff --git a/Documentation/git-sparse-checkout.txt b/Documentation/git-sparse-checkout.txt
index 1a3ace6082..7c8943af7a 100644
--- a/Documentation/git-sparse-checkout.txt
+++ b/Documentation/git-sparse-checkout.txt
@@ -70,7 +70,7 @@  C-style quoted strings.
 	`core.sparseCheckoutCone` is enabled, the given patterns are interpreted
 	as directory names as in the 'set' subcommand.
 
-'reapply::
+'reapply'::
 	Reapply the sparsity pattern rules to paths in the working tree.
 	Commands like merge or rebase can materialize paths to do their
 	work (e.g. in order to show you a conflict), and other