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.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 6. See what's changed.

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