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

Re: [PATCH 0/7] format-patch --reroll-count

From
Duy Nguyen <pclouds@gmail.com>
Date
Jan 1, 2013, 03:04 UTC
Message-ID
<CACsJy8D5Ch2W-tfV6+UuyEzxtL_5E3rkffnZc5AO9yrMDJsaXQ@mail.gmail.com>
In-Reply-To
<1356165212-5611-1-git-send-email-gitster@pobox.com>
On Sat, Dec 22, 2012 at 3:33 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> The --reroll-count=$N option, when given a positive integer:
>
>  - Adds " v$N" to the subject prefix specified.  As the default
>    subject prefix string is "PATCH", --reroll-count=2 makes it
>    "PATCH v2".
>
>  - Prefixes "v$N-" to the names used for output files.  The cover
>    letter, whose name is usually 0000-cover-letter.patch, becomes
>    v2-0000-cover-letter.patch when given --reroll-count=2.
On the same subject of format-patch improvements, perhaps we should also:
   - Keep subject line in branch.%s.description too. No point in
     keeping writing the subject on every reroll.
   - Perhaps an option to save the current tip in reflog with reroll
     count so one can easily diff between two rerolls.
-- 
Duy
Previous: Junio C Hamano
Message 9 of 9 in “format-patch --reroll-count”
  1. 0/7 format-patch --reroll-countJunio C Hamano, Dec 22, 2012
  2. 1/7 builtin/log.c: drop unused "numbered" parameter from make_cover_letter()Junio C Hamano, Dec 22, 2012
  3. 2/7 builtin/log.c: drop redundant "numbered_files" parameter from make_cover_letter()Junio C Hamano, Dec 22, 2012
  4. 3/7 builtin/log.c: stop using global patch_suffixJunio C Hamano, Dec 22, 2012
  5. 4/7 get_patch_filename(): simplify function signatureJunio C Hamano, Dec 22, 2012
  6. 5/7 get_patch_filename(): drop "just-numbers" hackJunio C Hamano, Dec 22, 2012
  7. 6/7 get_patch_filename(): split into two functionsJunio C Hamano, Dec 22, 2012
  8. 7/7 format-patch: add --reroll-count=$N optionJunio C Hamano, Dec 22, 2012
  9. Duy NguyenJan 1, 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.