4 ms·
git-bisect sounds really useful! Now all we need is a script that we can run like this: git-bisect-auto good-commit bad-commit test-command That returns t
by bshep 16y ago
git-bisect sounds really useful!
Now all we need is a script that we can run like this:
git-bisect-auto good-commit bad-commit test-command
That returns the id of the first commit that breaks the tests
- gruseom 16y agogit bisect run
- alexkay 16y agoIt's built in [1]: $ git bisect start <bad> <good> $ git bisect run <script> [1] http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html http://www.kernel.org/pub/software/scm/git/docs/git-bisect.h...
- bshep 16y agoAwesome! This will come in really handy for me!
- tzs 16y agoSimilar in Mercurial. And Bazaar. And Darcs. And Monotone.
- masklinn 16y agoNot bazaar as far as I know. Not builtin anyway, and doesn't seem to be in macport's bzr extensions set. In darcs, it's called `trackdown` and mandates usage of a test command, it cannot be used "interactively" (via $vcs bisect --good/$vcs bisect --bad the way git and mercurial can do it)
- user0 16y ago> Not builtin anyway Yes. Its a plugin[1] for bzr. [1] https://launchpad.net/bzr-bisect https://launchpad.net/bzr-bisect
- ajb 16y agoNot built in, on the other hand, is 'bbchop', which is like bisect, but for intermittent bugs: http://github.com/Ealdwulf/bbchop http://github.com/Ealdwulf/bbchop