Skip to content

You should be able to pull with -b/-r #328

Open
@grimmySwe

Description

@grimmySwe

Discussed in #325:
In version 0.4.0 of git-subrepo there is no good way to handle -b/-r flags for the subrepo pull operation.

As there is only one reference in the .gitrepo file, we can't determine the actual tree created by the merge and that would cause either:
a. We are cherry-picking without leaving a trace
b. We pull in old changes again because we have no easy way to determine how far we have pulled.

One possible solution would be to introduce another reference in the .gitrepo file. So that when we do pull -b/-r we actually store that in a separate entry, allowing us to recreate the structure when we push.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions