Skip to content

simplified git config causes remote upstream rewrite on every run #332

@aschleifer

Description

@aschleifer

If I use a simple config entry like:

~/test/cvspull:
  mypackage: 'git+ssh://[email protected]/mygroup/mypackage.git'

I always see the line about Updating remote origin:

Updating remote origin (ssh://[email protected]/mygroup/mypackage.git) with git+ssh://[email protected]/mygroup/mypackage.git

which then in turn causes a retry of the update.

To fix this issue I have to use a config like this:

~/test/cvspull:
  mypackage:
    url: 'git+ssh://[email protected]/mygroup/mypackage.git'
    remotes:
      origin: 'ssh://[email protected]/mygroup/mypackage.git'

This then works, but I would like to have a more compact/simplified config with only one line per repo.

(repogroup and name have been abstracted, as the used gitlab is internal ;) )

Best regards
Segaja

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions