Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git: Add support to ls-remote with peeled references. Fixes #749 #750

Merged
merged 1 commit into from
May 3, 2023

Commits on May 3, 2023

  1. git: Add support to ls-remote with peeled references. Fixes go-git#749

    A new PeelingOption field was introduced into ListOptions. The new options
    include the default (and backwards compatible) IgnorePeeled. Plus another
    two variations which either only returns peeled references (OnlyPeeled), or
    append peeled references to the list (AppendPeeled).
    
    The ls-remote example was updated to align with upstream, in which peeled
    references are appended to the results by default.
    
    A new ErrEmptyUrls error is now returned when List or ListContext do not
    receive a URL to work with, to improve overall execution flow.
    
    Signed-off-by: Paulo Gomes <pjbgf@linux.com>
    pjbgf committed May 3, 2023
    Configuration menu
    Copy the full SHA
    19b39e1 View commit details
    Browse the repository at this point in the history