On Tue, Oct 18, 2011 at 09:01, Dmitry Timoshkov dmitry@baikal.ru wrote:
Damjan Jovanovic damjan.jov@gmail.com wrote:
Moreover, often users get asked 'does reverting commit xxxx' help? Without performing a proper regression test it's impossible to asnwer that question.
Reverting a commit in the latest git is just 1 round of patch+configure+make+run, and reverting to the commit before it in the binary repository is just one git command. Why would you need a "proper regression test"?
Reverting a patch in latest git is not always possible, instead it's a very useful test to revert the patch at the suspected regression point and see if that really helps.
That still doesn't require a full regression test, just: $ git checkout -f $SHA1SUM $ ./configure && make -j4 # test $ git show $SHA1SUM | patch -p1 -R $ ./configure && make -j4 # retest