diff --git a/src/main/java/org/kohsuke/github/GHCompare.java b/src/main/java/org/kohsuke/github/GHCompare.java index 0435116995..d61991fa13 100644 --- a/src/main/java/org/kohsuke/github/GHCompare.java +++ b/src/main/java/org/kohsuke/github/GHCompare.java @@ -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);