this post was submitted on 25 Jun 2023
26 points (100.0% liked)

Programming

13380 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] alanine96 4 points 1 year ago

Yes, once. Our research lab's in-house software suddenly started throwing segfaults. The update was from the Mac side (OS), not the software side, so it would've been near impossible to figure out exactly which feature of the software no longer played nice with the new MacOS. We (me and a mentor) used git bisect to figure out what feature didn't work, and patched it for the new OS update.

The next week I went and bought a new laptop and installed Linux on it so that didn't happen again.