cross-posted from: https://programming.dev/post/214031

Have you ever used git bisect? If so, how did you use it? Did it help you find a problem which would otherwise be difficult to find? Story time, I guess?

  • angel@iusearchlinux.fyi
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Linux 5.17 introduced a null pointer deref in the md (multiple disks) module. That’s the first time I used bisect to find a faulty commit. The issue was fixed in a later release candidate.

    It can be a pretty handy tool if you’re dealing with projects that have a high number of commits between releases.