Skip to content

src/tools/rls submodule remote commit is broken; only works when current remote is called 'origin' #98451

Description

@jplatte

I just tried updating my local rust fork, but all x.py invocations were failing because they were trying to fetch the upstream remote of src/tools/rls. upstream was my local name of this repo (and origin was the local name of my fork). It seems like because I was on a local branch tracking a branch from upstream, x.py tried fetching upstream of submodules as well, but those submodules don't have an upstream remote, so things failed.

When I renamed origin to jplatte and upstream to origin, things started working again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions