Re: [PATCH v3 5/7] builtin: patch-id: add --include-whitespace as a command mode
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 14, 2022, 21:24 UTC
- Message-ID
- <xmqqbkqe6qv4.fsf@gitster.g>
- In-Reply-To
- <bbaa2425ad0cbb4b945cdce3402c6ed5fab381ec.1665737804.git.gitgitgadget@gmail.com>
"Jerry Zhang via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 6 quoted lines
> +--include-whitespace:: > + Use the "stable" algorithm described below and also don't strip whitespace > + from lines when calculating the patch-id. > + > + This is the default if patchid.includeWhitespace is true and implies > + patchid.stable.
This seems very much orthogonal to "--stable/--unstable.
Because the "--stable" variant is more expensive than "--unstable", I am not sure why such an implication is a good thing to have. Why can we not have
--include-whitespace --stable
--include-whitespace --unstableboth combinations valid?