3 ms·
Git bisect is only available for git and (at least) subversion has no comparable command, so unless you are willing to force everybody to use git (and that may
by tomjen3 11y ago
Git bisect is only available for git and (at least) subversion has no comparable command, so unless you are willing to force everybody to use git (and that may not be bad) you aren't guaranteed to get anything useful out of it.
Heck git allows you to edit the history pretty widely, right (I have only limited experience with git myself)? So in this case he could maintain a separate upstream repository which only contains the releases, with all the intermediate commits sanitized.
- nqzero 11y agogit bisect automates the process, but the underlying technique should work with any VCS. and i've scripted it up in SVN several times to good effect
- MaulingMonkey 11y agoI've been in situations where I was desperate enough to do it by hand. 20+ builds and manual tests later, I found a really nasty bug in some 3rd party code that manifested with the most bizarre repro that had no obvious connection even in hindsight, and symptoms involving cleanly exit(3)ing out of the program from a totally unrelated bit of code.
- kazinator 11y agoGit has bisect because Torvalds and co. did the same thing outside of version control using kernel tarballs. "Hmm, it still worked in 2.2.13, but not in 2.2.37. Let's try 2.2.25."
- emeraldd 11y agoI know it's svn is just an example but: http://git-scm.com/docs/git-svn http://git-scm.com/docs/git-svn The svn plugin to git let's have a git repo that is a clone /client of an svn repo. Very handy if you have an svn upstream but need to work offline.
- jeltz 11y agoGit, Mercurial, Darcs, Monotone, and Baazar all have a built-in bisect and for svn there are well used external scripts (like svn-bisect).