threads / patch / 34263

patchdocumentation: fix asterisks in fetch-options

Subject: [PATCH] documentation: fix asterisks in fetch-options

## tl;dr

3 messages between Jun 24, 2013 and Jun 24, 2013. Diffs are folded; open one to read it.

replies: 2people: 2as markdown or json

Fraser Tweedale· Jun 24, 2013, 11:31 UTC · lore

Fix refspec asterisks in the -t/--tags section of the fetch-options documentation.

Signed-off-by: Fraser Tweedale <frase@frase.id.au>
---
 Documentation/fetch-options.txt | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Show changes to Documentation/fetch-options.txt +6 −5
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
index 9cb6496..f2ac3bc 100644
--- a/Documentation/fetch-options.txt
+++ b/Documentation/fetch-options.txt
@@ -61,11 +61,12 @@ endif::git-pull[]
 ifndef::git-pull[]
 -t::
 --tags::
-	This is a short-hand for giving "refs/tags/*:refs/tags/*"
-	refspec from the command line, to ask all tags to be fetched
-	and stored locally.  Because this acts as an explicit
-	refspec, the default refspecs (configured with the
-	remote.$name.fetch variable) are overridden and not used.
+	This is a short-hand for giving
+	"refs/tags/{asterisk}:refs/tags/{asterisk}" refspec from the
+	command line, to ask all tags to be fetched and stored
+	locally.  Because this acts as an explicit refspec, the
+	default refspecs (configured with the remote.$name.fetch
+	variable) are overridden and not used.
 
 --recurse-submodules[=yes|on-demand|no]::
 	This option controls if and under what conditions new commits of
-- 
1.8.3.1
Thomas Rast· Jun 24, 2013, 11:35 UTC · re: Fraser Tweedale · lore

Re: [PATCH] documentation: fix asterisks in fetch-options

Fraser Tweedale <frase@frase.id.au> writes:
Show 19 quoted lines
> diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
> index 9cb6496..f2ac3bc 100644
> --- a/Documentation/fetch-options.txt
> +++ b/Documentation/fetch-options.txt
> @@ -61,11 +61,12 @@ endif::git-pull[]
>  ifndef::git-pull[]
>  -t::
>  --tags::
> -	This is a short-hand for giving "refs/tags/*:refs/tags/*"
> -	refspec from the command line, to ask all tags to be fetched
> -	and stored locally.  Because this acts as an explicit
> -	refspec, the default refspecs (configured with the
> -	remote.$name.fetch variable) are overridden and not used.
> +	This is a short-hand for giving
> +	"refs/tags/{asterisk}:refs/tags/{asterisk}" refspec from the
> +	command line, to ask all tags to be fetched and stored
> +	locally.  Because this acts as an explicit refspec, the
> +	default refspecs (configured with the remote.$name.fetch
> +	variable) are overridden and not used.

Wasn't this already fixed by 9eb4754 (fetch-options.txt: prevent a wildcard refspec from getting misformatted, 2013-06-07), currently in master?

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Fraser Tweedale· Jun 24, 2013, 11:42 UTC · re: Thomas Rast · lore

Re: [PATCH] documentation: fix asterisks in fetch-options

Right you are.  I missed that; apologies for the noise.
Fraser
On Mon, Jun 24, 2013 at 01:35:13PM +0200, Thomas Rast wrote:
Show 29 quoted lines
> Fraser Tweedale <frase@frase.id.au> writes:
> 
> > diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
> > index 9cb6496..f2ac3bc 100644
> > --- a/Documentation/fetch-options.txt
> > +++ b/Documentation/fetch-options.txt
> > @@ -61,11 +61,12 @@ endif::git-pull[]
> >  ifndef::git-pull[]
> >  -t::
> >  --tags::
> > -	This is a short-hand for giving "refs/tags/*:refs/tags/*"
> > -	refspec from the command line, to ask all tags to be fetched
> > -	and stored locally.  Because this acts as an explicit
> > -	refspec, the default refspecs (configured with the
> > -	remote.$name.fetch variable) are overridden and not used.
> > +	This is a short-hand for giving
> > +	"refs/tags/{asterisk}:refs/tags/{asterisk}" refspec from the
> > +	command line, to ask all tags to be fetched and stored
> > +	locally.  Because this acts as an explicit refspec, the
> > +	default refspecs (configured with the remote.$name.fetch
> > +	variable) are overridden and not used.
> 
> Wasn't this already fixed by 9eb4754 (fetch-options.txt: prevent a
> wildcard refspec from getting misformatted, 2013-06-07), currently in
> master?
> 
> -- 
> Thomas Rast
> trast@{inf,student}.ethz.ch

← back to recent threads