Restarting a build on PRs

Running Drone 0.8-RC5.

When I start a build on a PR, drone will fetch the HEAD of the PR branch. If I push new commits and restart an old build then drone will pick up these commits.

If this is the expected behaviour, then it is confusing because when you restart a build the web UI will show the hash of the commit that triggered the build in the first place and not the hash of the HEAD of the PR branch.

Plugins are responsible for cloning. What you are describing is a quirk of the git clone plugin. See https://github.com/drone-plugins/drone-git/issues/41