Now imagine if testing wasn't as simple as just looking at a file... manually running automated tests can take as long as compiling a gasp enterprise Java project.

-- xkcd
From man git-bisect:
Bisect run
If you have a script that can tell if the current source code is good or bad, you can
bisect by issuing the command:
$ git bisect run my_script arguments
Note that the script (my_script in the above example) should exit with code 0 if the
current source code is good/old, and exit with a code between 1 and 127 (inclusive),
except 125, if the current source code is bad/new.
For science, let's see if we can redo what we just did, but automate the whole thing away.
if grep -q "SCANNING" "scripts/scan.sh"; then
exit 1
else
exit 0
fi