From: Duy Nguyen Date: Fri, 29 Mar 2019 11:27:04 GMT Subject: Re: [PATCH v3 10/21] checkout: split part of it to new command 'switch' Message-ID: In-Reply-To: <42ba7f39-4a8e-9866-eebd-2a4dd5ff8414@gmail.com> On Fri, Mar 29, 2019 at 6:04 PM Phillip Wood wrote: > > I am especially concerned with the idea of > > having something like "git switch --ignore-in-progress > > --discard-changes" being used to quit merges or cherry-picks or > > reverts or even rebases. In my opinion, doing so is creating flags to > combine uncommon pairs of git commands (git --quit + git > > switch) in a way that is far less clear. I think that's a bad route > > to go down, and we should keep the commands orthogonal > > keeping commands orthogonal is certainly clearer, if less convenient - > lets do it (assuming Duy agrees). I sent out v6 a bit too early I guess. But removing --ignore-in-progress also makes it orthogonal. You could cancel the in-progress operation and resume switching, or find another way and forget about switching. -- Duy