Re: [PATCH 2/2] bash: not all 'git bisect' subcommands make sense when not bisecting
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- Oct 10, 2010, 22:12 UTC
- Message-ID
- <20101010221232.GD12529@neumann>
- In-Reply-To
- <AANLkTi==oCKgw86fy6sPiPuKuownsbob3xXiY=hHhYrQ@mail.gmail.com>
Hi,
On Mon, Oct 11, 2010 at 12:05:52AM +0200, Sverre Rabbelier wrote:
Show 8 quoted lines
> Heya, > > On Sun, Oct 10, 2010 at 23:39, SZEDER Gábor <szeder@ira.uka.de> wrote: > > ... but only 'start' and 'replay'. The other commands will either > > error out or offer to start bisecting for the user. > > I'm not sure, following the same concept "git rebase" should not offer > "--continue" if you're not rebasing.
Actually, my patch follows the same concept of 'git rebase', because that's exactly what the completion function for 'git rebase' does: it doesn't offer '--continue' (nor '--abort' and '--skip') if you're not rebasing.
Best, Gábor