Re: Schrödinger's hash
The Wanderer <[email protected]>
| Newsgroups | gmane.linux.debian.user |
|---|---|
| Organization | This space intentionally left blank. |
| Message-ID | <[email protected]> |
On 2026-06-22 at 18:40, David Christensen wrote: > On 6/22/26 09:54, Charles Curley wrote: >> I think that this problem first showed up late April or early May. >> If that is correct, the following extracts from my apt logs might >> help. These were copied and pasted unwrapped, so unless they were >> mangled in transit, long lines should be preserved. >> >> ... >> >> Apparently, twice in April I had tried the backports kernel(s), >> and found them unsatisfactory. So possibly the fix came in between >> linux-image-6.19.11+deb13-amd64 and the current backports kernel, >> linux-image-7.0.10+deb13-amd64. > > AIUI if someone can come up with a shell script or program whose exit > value reliably indicates the presence or absence of a bug, Git can > do a binary search over a range of commits and locate the commit > where the bug originated. ...assuming that there aren't any commits broken for other reasons, or otherwise commits where the codebase can't be built far enough for the script or program to be able to do its thing, that will be hit along the way. That could be folded in under "reliably", of course - but it's sufficiently far out of the scope of what people might be expected to think of for that term, if not previously familiar with what such bisections can involve, that it seems worth calling out explicitly. That said, git can actually do this even *without* such a script/program, as long as you're willing and able to test each candidate commit manually. The use of a script or program to automate it is actually a subset of the functionality of the 'git bisect' sub-command, specifically the sub-sub-command 'git bisect run'; see 'git help bisect' for the documentation, most of which is about the version of the process where the validation of each commit is done manually rather than by a script. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEJCOqsZEc2qVC44pUBKk1jTQoMmsFAmo57N8ACgkQBKk1jTQo MmvnNQ/+NS14dkhvcbfNhunPKEPixONuRdyV+p+CI2B1xE57edc0yG76wK/pFKJA q8RXCVW44T7b4I1Tr3dXNWJq25Qcz+ac8VJCBlFII1twvBZ9haOsMmwxzqtipt88 hJbUS9MiUZXGxd15fnT96wHtgSH2z67ZX+VGmYrtVU/CvWylOlCA/7ddw+opRsRh fD7WwOxJsAAXBYUQWD3mTKKYS0zLBwDUwbWvKGOvfFMkHOMyt9Qx9ko8tXq/soJl 5zKjPXT1A86oLRDixV9uaZsYlXBMkga26f/mEPPc9HYdQkHG5iNzCqzgIGUeJrFl gDhn10a6ScY8YSldjE7RkjPKwmAId0wNl8K0IyzeaWx2OpFpCrJTtWSqnfl5X2eN LD1RhEp0eRXpZsgPlV4Ix7tCeg/5zwlMaSV8+NsqIJW5BuHeYvH7hdnyP61CaG1o DiO9u+qNVcmK6TwKzij+qyYaLEk8ydeVimmq5PcXCNNQ5wn3zODkg7cnwNj/NoEW t2BjUGnPX7nAKiE0flZits2TE2eW03PXRzmOXK85az1WcfboCxwqtH6RhyJIpVvs qBxa9+yeRChaYv8MLjlo7063tlXpb5Zq3jKLXO/Xa9ZFWcIBgz8SdWU2pIGmyNXY 12vSqqu2nq/UOC7PZqRKXjRpfy5cTu2zC9Kyo7C/9mKMNQOMGzM= =SyXL -----END PGP SIGNATURE-----