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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Thomas Rast <hidden>
Date: 2016-06-15 22:57:53

Fraser Tweedale [off-list ref] writes:
quoted hunk
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

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

From: Fraser Tweedale <hidden>
Date: 2016-06-15 22:57:53

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 [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help