jenkinsci/git-plugin — pull request #265 by p0deje (2014-10-29 08:34:08+00:00)
Title: Prefer using parent's RevisionParameterAction for matrix builds

In some cases, parent can have more than one build data - for example [ghprb-plugin](https://github.com/jenkinsci/ghprb-plugin) uses it to generate correct diff between current and previous build run on this pull request (see [code](https://github.com/janinko/ghprb/blob/a6d794f974fb66be7e2945be4dd62065ddcb585a/src/main/java/org/jenkinsci/plugins/ghprb/GhprbTrigger.java#L170-L172)). Thus, child builds may use revision from previous build, not the correct one.

This pull request forces using `RevisionParameterAction` if it has been explicitly passed to parent build.

P.S. Unfortunately, my Java is pretty bad so I could write tests for it.