Skip to content

pr-885/adlternative/format_patch_non_intergral-v9

From: ZheNing Hu <adlternative@gmail.com>

The `-v<n>` option of `format-patch` can give nothing but an
integral iteration number to patches in a series.  Some people,
however, prefer to mark a new iteration with only a small fixup
with a non integral iteration number (e.g. an "oops, that was
wrong" fix-up patch for v4 iteration may be labeled as "v4.1").

Allow `format-patch` to take such a non-integral iteration
number.

`<n>` can be any string, such as '3.1' or '4rev2'. In the case
where it is a non-integral value, the "Range-diff" and "Interdiff"
headers will not include the previous version.

Signed-off-by: ZheNing Hu <adlternative@gmail.com>

Submitted-As: https://lore.kernel.org/git/pull.885.v9.git.1616317225769.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.885.git.1614269753194.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.885.v2.git.1614588030233.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.885.v3.git.1614859926974.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.885.v4.git.1614928211635.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.885.v5.git.1615883137212.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.885.v6.git.1616047200968.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.885.v7.git.1616152884317.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.885.v8.git.1616252178414.gitgitgadget@gmail.com
Assets 2