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

Re: [PATCH 2/2] format-patch: give --reroll-count a short synonym -v

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 4, 2013, 00:00 UTC
Message-ID
<7vpq1lvmtz.fsf@alter.siamese.dyndns.org>
In-Reply-To
<A6A2DEC8F88743B88AA03DC5BD8547B7@PhilipOakley>
"Philip Oakley" <philipoakley@iee.org> writes:
Show 7 quoted lines
>> +test_expect_success 'reroll count (-v)' '
>> + rm -fr patches &&
>> + git format-patch -o patches --cover-letter -v 4 master..side >list
>> &&
>
> Shouldn't this be using the sticked form -v4 as described in the
> commit message and gitcli?
I personally do not care too deeply either way.

Both styles seem to work, and if/when we break parse-options API implementation, this test will break and we will notice, which might be an added plus ;-)

Previous: Philip OakleyNext: Junio C Hamano
Message 4 of 5 in “format-patch: document and test --reroll-count”
  1. 1/2 format-patch: document and test --reroll-countJunio C Hamano, Jan 2, 2013
  2. 2/2 format-patch: give --reroll-count a short synonym -vJunio C Hamano, Jan 2, 2013
  3. Philip OakleyJan 4, 2013
  4. Junio C HamanoJan 4, 2013
  5. Junio C HamanoJan 4, 2013

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.