Skip to content

checkout failed with 'submodule not found' if submodule has a custom name #1236

@yankeguo

Description

@yankeguo

If submodule is added with --name option, the submodule name is different with submodule path.

In this case, go-git checkout will failed with submodule not found, since checkoutChange function assumes submodule's name is same with it's path

return w.checkoutChangeSubmodule(name, a, e, idx)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingno-autocloseIssues/PRs to be ignored by stale bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy