To reproduce:
- Create a new Diffusion repo that mirrors a GitHub repo and only tracks the master branch
- Notice how commits in PR branches in GitHub are still imported into Diffusion
This becomes a real problem if PRs are landed squashed or rebased instead of the default merged in GitHub UI. This means new commits are created with the same diffs / messages / author and now you end up with twice the commits in Diffusion, which confuses users when searching for commits based on their messages.