Subject: Re: [PATCH] git.txt: Fix asciidoc syntax of --*-pathspecs

From: Junio C Hamano <[email-masked]>
Date: Tue, 15 Oct 2013 15:45:33 -0700

Steffen Prohaska <[email-masked]> writes:

> Labeled lists require a double colon.
>
> Signed-off-by: Steffen Prohaska <[email-masked]>
> ---

Looks sensible; it would have been nicer if the log message said
something like

    I eyeballed the output from

        git grep '[^:]:$' Documentation/\*.txt

    and these are the only breakages of this kind

(which I did just now).

>  Documentation/git.txt | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/git.txt b/Documentation/git.txt
> index 5d68d33..4c2757e 100644
> --- a/Documentation/git.txt
> +++ b/Documentation/git.txt
> @@ -475,19 +475,19 @@ example the following invocations are equivalent:
>  	This is equivalent to setting the `GIT_LITERAL_PATHSPECS` environment
>  	variable to `1`.
>  
> ---glob-pathspecs:
> +--glob-pathspecs::
>  	Add "glob" magic to all pathspec. This is equivalent to setting
>  	the `GIT_GLOB_PATHSPECS` environment variable to `1`. Disabling
>  	globbing on individual pathspecs can be done using pathspec
>  	magic ":(literal)"
>  
> ---noglob-pathspecs:
> +--noglob-pathspecs::
>  	Add "literal" magic to all pathspec. This is equivalent to setting
>  	the `GIT_NOGLOB_PATHSPECS` environment variable to `1`. Enabling
>  	globbing on individual pathspecs can be done using pathspec
>  	magic ":(glob)"
>  
> ---icase-pathspecs:
> +--icase-pathspecs::
>  	Add "icase" magic to all pathspec. This is equivalent to setting
>  	the `GIT_ICASE_PATHSPECS` environment variable to `1`.