It searches for a commit that a given patch can cleanly be applied to. Review URL: https://codereview.chromium.org/799273003 Cr-Commit-Position: refs/heads/master@{#25845}