Add a resource for retrieving diffs

Review Request #8920 — Created May 5, 2017 and submitted — Latest diff uploaded

Information

gerrit-reviewboard-plugin
master

Reviewers

The DiffResource, available at
a/projects/<projectName>/commits/<sha>/diff/, yields the diff of the
commit with the given sha. Due to limitations within the JGit library,
we are only able to compute diffs for commits which have a single
parent.

Hit the API and saw the diff returned.

Changes between revision 1 and 2

orig
1
2
3
4
5
6
src/main/java/org/reviewboard/rbgerrit/DiffResource.java
Loading...