3 ms·
How are ~5 minute ZFS snapshots significantly better than git log --patch to look at your history, combined with git checkout $COMMIT to get the code to
by simoncion 11y ago
How are ~5 minute ZFS snapshots significantly better than
git log --patch
to look at your history, combined with
git checkout $COMMIT
to get the code to perform any tests required? (Or, if you have a reliable automated test,
git bisect start HEAD $KNOWN_GOOD_COMMIT -- && git bisect run $TEST
will automatically find the error for you.) [0][1]
And remember that the git checkpoint creation process is -at its most verbose- running
git commit -m "C"
[0] You can use points-in-time as commit references, like 'master@{30 minutes ago}' or 'HEAD@{2016-01-01}'
[1] And even if you don't have a test, you can easily manually run the bisect machinery.