From: Phillip Wood Date: Fri, 15 Jan 2021 10:29:26 GMT Subject: Re: How to implement the "amend!" commit ? Message-ID: <81d3784c-fa64-a18d-9cc8-6ff50bbdd6ac@gmail.com> In-Reply-To: Hi Junio On 14/01/2021 20:32, Junio C Hamano wrote: > Phillip Wood writes: > >> This is the only option that is backwards >> compatible. `--fixup=:/ ` still works and can be used with the >> new syntax as `--fixup=amend::/`. > Do you mean both "--fixup=:/" and "--fixup=amend::/" > work and do the same thing? If so, that is good. "--fixup=:/" will work as it does now and "--fixup=amend::/" will create an amend! commit. >> 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'" Sure - that's actually what I meant but I wasn't very clear Do you think we want to support "--fixup=squash:" so there is a uniform way for creating all flavors or is that just going to be confusing when we have "--squash=" already? Best Wishes Phillip