... | ... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
Say you have a program that fails to build or a test suite that fails at some point between
|
|
|
GHC 8.2.2 and 8.4.1. It can often be useful to know which commit introduced the regression. [Bisection](https://en.wikipedia.org/wiki/Bisection_%28software_engineering%29) is an efficient way of determining this, requiring at most `log_2(N)` commits to find the culprit among `N` commits.
|
|
|
GHC 8.2.2 and 8.4.1. It can often be useful to know which commit introduced the regression. [Bisection](https://en.wikipedia.org/wiki/Bisection_%28software_engineering%29) is an efficient way of determining this, requiring at most `log_2(N)` commits to find the culprit among `N` commits assuming GHC and your test case builds at each commit which in practice may not be the case.
|
|
|
|
|
|
Bisection can be done manually or with a git command.
|
|
|
|
... | ... | |