Skip to content

[release/0.4.0] "git subrepo push" always applies the -u option? #313

Open
@plach79

Description

@plach79

I am not sure whether I found a bug or this is intended, but on the release/0.4.0 branch (ba19aa7), if I try to push while specifying an alternate remote and branch (I'm trying to implement a pull-request workflow for the subrepo), .gitrepo is updated with those remote and branch values, as if I specified the -u option.

This is not what I would expect, in fact I'd assume that, unless -u is specified, the original remote and branch are kept. Am I missing anything?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions