Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 17, 2019. It is now read-only.

Commit ac64c20

Browse filesBrowse files
committed
Merge pull request hub4j#132 from mocleiri/add-getFiles-method-to-GHCompare
Add GHCompare.getFiles() method to be able to see the precise files chan...
2 parents d228a5f + 9802132 commit ac64c20
Copy full SHA for ac64c20

File tree

Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed

‎src/main/java/org/kohsuke/github/GHCompare.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHCompare.java
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ public Commit getMergeBaseCommit() {
6868
public Commit[] getCommits() {
6969
return commits;
7070
}
71+
72+
public GHCommit.File[] getFiles() {
73+
return files;
74+
}
7175

72-
73-
public GHCompare wrap(GHRepository owner) {
76+
public GHCompare wrap(GHRepository owner) {
7477
this.owner = owner;
7578
for (Commit commit : commits) {
7679
commit.wrapUp(owner);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.