From: Junio C Hamano Date: Thu, 21 Mar 2024 21:55:12 +0000 (-0700) Subject: Merge branch 'rs/opt-parse-long-fixups' X-Git-Tag: v2.45.0-rc0~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a01b444638a2704befcd4c24e1d441b818ae67b;p=thirdparty%2Fgit.git Merge branch 'rs/opt-parse-long-fixups' The parse-options code that deals with abbreviated long option names have been cleaned up. Reviewed-by: Josh Steadmon cf. * rs/opt-parse-long-fixups: parse-options: rearrange long_name matching code parse-options: normalize arg and long_name before comparison parse-options: detect ambiguous self-negation parse-options: factor out register_abbrev() and struct parsed_option parse-options: set arg of abbreviated option lazily parse-options: recognize abbreviated negated option with arg --- 7a01b444638a2704befcd4c24e1d441b818ae67b