From: Charvi Mendiratta Date: Thu, 04 Mar 2021 09:01:52 GMT Subject: Re: [PATCH v3 2/6] commit: add amend suboption to --fixup to create amend! commit Message-ID: In-Reply-To: On Thu, 4 Mar 2021 at 06:28, Junio C Hamano wrote: > > Eric Sunshine writes: > > > Hmm, I see. I didn't follow whatever discussion led to the decision to > > use this sort of prefix matching, but I have to wonder if it is a good > > idea. > > Meaning --fixup=a: and --fixup=amend: do the same > thing, until somebody invents --fixup=another: and makes the > prefix 'a' no longer unique? I tend to agree that, especially with > command line completion support with modern shells, such a prefix > matching would not be necessary. > Okay, so for now I think (as suggested), let's remove it and directly use "!strcmp()" only instead of "starts_with()". I agree that if we keep prefix matching or not, it will not matter much. Thanks and Regards, Charvi