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

3 messages from 2013-06-24 to 2013-06-24. Participants: Fraser Tweedale, Thomas Rast.
Thread: https://gitlist.dev/t/34263

## Fraser Tweedale, 2013-06-24 11:31

Subject: [PATCH] documentation: fix asterisks in fetch-options
Message-ID: <1372073467-29112-1-git-send-email-frase@frase.id.au>
URL: https://gitlist.dev/e/1372073467-29112-1-git-send-email-frase%40frase.id.au

```
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(-)

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, 2013-06-24 11:35

Subject: Re: [PATCH] documentation: fix asterisks in fetch-options
Message-ID: <8761x33fny.fsf@linux-k42r.v.cablecom.net>
URL: https://gitlist.dev/e/8761x33fny.fsf%40linux-k42r.v.cablecom.net
In-Reply-To: <1372073467-29112-1-git-send-email-frase@frase.id.au>

```
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

```

## Fraser Tweedale, 2013-06-24 11:42

Subject: Re: [PATCH] documentation: fix asterisks in fetch-options
Message-ID: <20130624114202.GT2457@bacardi.hollandpark.frase.id.au>
URL: https://gitlist.dev/e/20130624114202.GT2457%40bacardi.hollandpark.frase.id.au
In-Reply-To: <8761x33fny.fsf@linux-k42r.v.cablecom.net>

```
Right you are.  I missed that; apologies for the noise.

Fraser

On Mon, Jun 24, 2013 at 01:35:13PM +0200, Thomas Rast wrote:
> 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

```
