I have a bot that looks at the source of the pull request. In the event the pull request source is from a private repository the bot will not be able to clone/fetch these commits. Fortunately, I can obtain the patch (i.e. `git-format-patch` output) from a url provided by the pull request. Sadly, `git-am` can often fail when `git-merge` succeeds. What is a reliable way of getting the pull request source branch that works even when the source is private?
... View more