Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] Make it clear that push can take multiple refspecs

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:04

Abhijit Menon-Sen [off-list ref] writes:
At 2008-07-29 15:06:57 -0700, gitster@pobox.com wrote:
quoted
If you saw the question asked many times in the real world, that
would be a good indication that this patch falls into the "helpful"
category, not "noise". Will queue.
Thanks.

You may find the appended patch less noisy still. I certainly like being
able to get rid of the "any number of..." sentence; and I also think the
example is clearer, though I merged it into an existing one.
...
-<refspec>::
-	The canonical format of a <refspec> parameter is
+<refspec>...::
+	The canonical format of each <refspec> parameter is
 	`+?<src>:<dst>`; that is, an optional plus `+`, followed
After re-reading this, prompted by your comment about "both synopsis
syntax and regex in the same sentence, I actually do not see a problem
with the original one.  The synopsis talks about the ability for you to
specify zero or more of whatever is called <refspec>, and here we define
what _A_ refspec is.

Somehow I thought the issue was that we said "<refspec>...::" in the
heading of the description without saying zero-or-more, but that is not
the case here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help