Case File: Which Commit Broke It
The nightly build broke, and hundreds of commits could be the cause. Each test takes ten minutes, so you cannot try them all. Write the binary search that git bisect uses, find the first bad commit in two histories, and prove that you used only a handful of tests: the checks count the number of times you call the probe.
Case File: Which Commit Broke It
The nightly build broke, and hundreds of commits could be the cause. Each test takes ten minutes, so you cannot try them all. Write the binary search that git bisect uses, find the first bad commit in two histories, and prove that you used only a handful of tests: the checks count the number of times you call the probe.
In this lesson:
- git
- bisect
- binary search
- debugging
- algorithms
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans