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

Commit 29e4491

Browse filesBrowse files
committed
Skip author resolve if already present
1 parent d2c9851 commit 29e4491
Copy full SHA for 29e4491

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHCommit.java
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,9 @@ public List<GHCommit> getParents() throws IOException {
464464
* the io exception
465465
*/
466466
public GHUser getAuthor() throws IOException {
467+
if (author != null) {
468+
return resolveUser(author);
469+
}
467470
populate();
468471
return resolveUser(author);
469472
}

0 commit comments

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