From: Charvi Mendiratta Date: Sun, 17 Jan 2021 03:43:07 GMT Subject: Re: How to implement the "amend!" commit ? Message-ID: In-Reply-To: Hi Junio and Phillip, On Fri, 15 Jan 2021 at 02:02, Junio C Hamano wrote: > > Phillip Wood writes: > [...] > > > Note that we intend to allow > > accept any prefix of "amend" and "reword" so --fixup=a: would > > work. > > "a" and "r" may happen to be unique but we would not want to be > limited to these two forever---future developers are allowed to > invent other clever variants. So let's say "accept unique prefix as > abbreviation for these operating mode words like 'amend' and 'reword'" > Earlier, I thought to implement the UI of amend! commit as : "git commit --fixup=a/amend:" So users can either use 'a' as abbreviation or 'amend'. But I want to once confirm if I got this right ? As I am doubtful about, what does allowing to accept any prefix of "amend" and "reword" means ? Thanks and Regards, Charvi