git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 29, 2008, 23:20 UTC
Message-ID
<7vwsj49t27.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080729231338.GA30717@toroid.org>
Abhijit Menon-Sen <ams@toroid.org> writes:
Show 17 quoted lines
> At 2008-07-29 15:06:57 -0700, gitster@pobox.com wrote:
>>
>> 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.

Previous: Abhijit Menon-SenNext: Abhijit Menon-Sen
Message 6 of 8 in “Make it clear that push can take multiple refspecs”
  1. Make it clear that push can take multiple refspecsAbhijit Menon-Sen, Jul 29, 2008
  2. Junio C HamanoJul 29, 2008
  3. Abhijit Menon-SenJul 29, 2008
  4. Junio C HamanoJul 29, 2008
  5. Abhijit Menon-SenJul 29, 2008
  6. Junio C HamanoJul 29, 2008
  7. Abhijit Menon-SenJul 30, 2008
  8. Junio C HamanoJul 30, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.