Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Submodule from relative URL #730

Closed
@sp-ricard-valverde

Description

@sp-ricard-valverde

Git submodules allow relative URLs which are based on the parent repo URL.

Right now this is not supported, ie. adding a submodule configuration in.gitmodules with a relative URL will fail when cloning in theadd orupdateSubmodule.

A sample stack trace when callingsubmodule.update(init=True):

GitCommandErrorCmd('git') failed due to: exit code(128)  cmdline: git clone -n --separate-git-dir=/opt/parent_project/.git/modules/submodule_project -v ../../my-company/submodule-project.git /opt/parent_project/submodule_project  stderr: 'fatal: repository '../../my-company/submodule-project.git' does not exist'git/cmd.py in wait at line 291git/util.py in finalize_process at line 341git/repo/base.py in _clone at line 880git/repo/base.py in clone_from at line 925git/objects/submodule/base.py in _clone_repo at line 261git/objects/submodule/base.py in update at line 524

GitPython==2.1.1
Still present in the current revision8f76463

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp