From: Junio C Hamano Date: Sun, 01 Mar 2026 14:33:01 GMT Subject: Re: [PATCH v2 2/2] parseopt: check for duplicate long names and numerical options Message-ID: In-Reply-To: <20260228105849.GA3626520@coredump.intra.peff.net> Jeff King writes: > On Sat, Feb 28, 2026 at 10:19:16AM +0100, René Scharfe wrote: > >> 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.