Re:Improve your Git commits using patch mode
by rmc on Sunday November 11, 2012 @02:38PM
(#4770342)
During a git bisect, you can mark a commit as "skip" which means "this commit is broken, pretend it isn't there".
[ Parent
| on HN ]
Re:Improve your Git commits using patch mode
by masklinn on Sunday November 11, 2012 @03:09PM
(#4770432)
Skip means you can't run scripted bisects (such as `bisect run make test` or however that's spelled using your test runner) and either way when you reach a broken commit you have to determine whether it's broken due to what you're looking for or for some other reason, which means time wasted.
skip is necessary when your history is broken and fucked, but I'd just as well not have a broken and fucked history in the first place.
Skip means you can't run scripted bisects
No, if your script exits with exit code 125, then that means "skip". You just need to write a wrapper script that'll handle that, so "make || exit 125 ; ./test-if-commit-is-good.sh" can do it.