On Sat, Dec 22, 2012 at 3:33 PM, Junio C Hamano [off-list ref] wrote:
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