Skip to content

Commit 3f051fc

Browse files
LemmingAvalanchegitster
authored andcommitted
doc: patch-id: --verbatim locks in --stable
The default `--unstable` is a legacy format that predates `--stable`. That’s why 2871f4d (builtin: patch-id: add --verbatim as a command mode, 2022-10-24) made `--verbatim` lock in[1] `--stable`: Users of --unstable mainly care about compatibility with old git versions, which unstripping the whitespace would break. Thus there isn't a usecase for the combination of --verbatim and --unstable, and we don't expose this so as to not add maintainence burden. † 1: imply `--stable`, disallow `--unstable` Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 89d4f3a commit 3f051fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/git-patch-id.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ OPTIONS
3232

3333
`--verbatim`::
3434
Calculate the patch ID of the input as it is given, do not strip
35-
any whitespace.
35+
any whitespace. Implies `--stable` and forbids `--unstable`.
3636
+
3737
This is the default if `patchid.verbatim` is `true`.
3838

0 commit comments

Comments
 (0)