Skip to content

GHRepository.getCompare(GHBranch, GHBranch) does not allow for cross-fork compares #218

@if6was9

Description

@if6was9

GHRepository.getCompare(String,String) supports cross-fork comparisons, but this does not:

https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHRepository.java#L684-L686

This is a simple fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions