Re: [PATCH][OUTREACHY] bisect: allow `git bisect` to run from subdirectory
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 23, 2020, 08:37 UTC
- Message-ID
- <nycvar.QRO.7.76.6.2010231036180.56@tvgsbejvaqbjf.bet>
- In-Reply-To
- <xmqqzh4embt5.fsf@gitster.c.googlers.com>
Hi Junio,
On Thu, 22 Oct 2020, Junio C Hamano wrote:
Show 12 quoted lines
> Phillip Wood <phillip.wood123@gmail.com> writes: > > >> The relevance is this: _iff_ we want to prevent `git bisect` from > >> running > >> in a subdirectory under the premise that that subdirectory might need to > >> be removed, then why don't we prevent `git rebase` from running in a > >> subdirectory when that command is equally likely to remove that > >> subdirectory? > > > > That's a good point, I'd completely missed the analogy with `rebase --exec` > > I concur. Perhaps we should make rebase a bit more careful.
That might be a rabbit hole that's a little too deep. If we want to make rebase a bit more careful, we then also must make `git -C ..` more careful. And `git -C ../..`...
I am fairly certain that I don't want to go there.
Ciao, Dscho