Re: [PATCH 2/4] switch: allow to switch in the middle of bisect

2019-06-20 Thread Duy Nguyen
On Thu, Jun 20, 2019 at 9:02 PM Derrick Stolee wrote: > > On 6/20/2019 5:55 AM, Nguyễn Thái Ngọc Duy wrote: > > In c45f0f525d (switch: reject if some operation is in progress, > > 2019-03-29), a check is added to prevent switching when some operation > > is in progress. The reason is it's often no

Re: [PATCH 2/4] switch: allow to switch in the middle of bisect

2019-06-20 Thread Derrick Stolee
On 6/20/2019 5:55 AM, Nguyễn Thái Ngọc Duy wrote: > In c45f0f525d (switch: reject if some operation is in progress, > 2019-03-29), a check is added to prevent switching when some operation > is in progress. The reason is it's often not safe to do so. > > This is true for merge, am, rebase, cherry-

[PATCH 2/4] switch: allow to switch in the middle of bisect

2019-06-20 Thread Nguyễn Thái Ngọc Duy
In c45f0f525d (switch: reject if some operation is in progress, 2019-03-29), a check is added to prevent switching when some operation is in progress. The reason is it's often not safe to do so. This is true for merge, am, rebase, cherry-pick and revert, but not so much for bisect because bisectin