Thread (1 message) 1 message, 1 author, 2026-03-01

Re: [PATCH v2 2/2] parseopt: check for duplicate long names and numerical options

From: Junio C Hamano <hidden>
Date: 2026-03-01 14:33:03

Jeff King [off-list ref] writes:
On Sat, Feb 28, 2026 at 10:19:16AM +0100, René Scharfe wrote:
quoted
Perform the slightly expensive string duplicate check only when showing
the usage to keep the cost of normal invocations low.  t0012-help.sh
covers it.
Nice, this seems like the perfect compromise to me. We get a runtime
switch that kicks in at the moment we want, and we don't even have to
pollute the world with a new switch or environment variable.
Yes, absolutely.  This is very nice.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help