Re: RFC: git bisect should accept "paths-to-be-excluded"
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Sep 17, 2013, 07:26 UTC
- Message-ID
- <CAP8UFD0qC3UM3Dgt2dhpcBHt34yZ3HwNO6y7Z=EBtyRYpyc+Bw@mail.gmail.com>
- In-Reply-To
- <5236FBEA.80909@gmx.de>
Hi,
On Mon, Sep 16, 2013 at 2:39 PM, Toralf Förster <toralf.foerster@gmx.de> wrote:
Show 5 quoted lines
> I'm bisecting a linux kernel issue and want to ignore all commits just > touching something in ./drives/staging. > > Currently the only way would be to specify all dir/subdir combination > under ./linux except that particular directory, right ?
Yeah, you are right, currently the only way would be to specify all dir/subdir combination under ./linux except the particular directory you want to exclude.
It might indeed be useful to have a way to exclude some directories or files.
In practice though, as git bisect is a kind of binary search, if what you want to exclude is exclusively touched by half the commits, it will only add one more bisection step if you don't exclude it.
Best regards, Christian.