Skip to content

display remote URL and branch for the repo repository #3881

Open
@vladak

Description

@vladak

The RepoRepository#determineParent() currently returns null. It can get the parent information using Git as answered on https://stackoverflow.com/a/63303874/11582827 , i.e. the JGit equivalent of:

cd .repo/manifests
git remote -v

And also the branch information (for RepoRepository#determineBranch()) using:

cd .repo/manifests
git rev-parse --abbrev-ref --symbolic-full-name @{u}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions