Skip to content

Commit

Permalink
Merge pull request #132 from mocleiri/add-getFiles-method-to-GHCompare
Browse files Browse the repository at this point in the history
Add GHCompare.getFiles() method to be able to see the precise files chan...
  • Loading branch information
mocleiri committed Sep 30, 2014
2 parents d228a5f + 9802132 commit ac64c20
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/org/kohsuke/github/GHCompare.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,12 @@ public Commit getMergeBaseCommit() {
public Commit[] getCommits() {
return commits;
}

public GHCommit.File[] getFiles() {
return files;
}


public GHCompare wrap(GHRepository owner) {
public GHCompare wrap(GHRepository owner) {
this.owner = owner;
for (Commit commit : commits) {
commit.wrapUp(owner);
Expand Down

0 comments on commit ac64c20

Please sign in to comment.