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

fix updating submodules with relative urls#2051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

david0
Copy link
Contributor

This fixes running repo.update_submodules(init=True) on repositories that are using relative for the modules.

It tries to emulate the git behavior:https://github.com/git/git/blob/master/builtin/submodule--helper.c#L503

Fixes#730

This fixes running repo.update_submodules(init=True) on repositoriesthat are using relative for the modules.Fixesgitpython-developers#730
@david0david0force-pushed thefix-issue-730-relative-submodule branch from76f3bf3 to1d80891CompareJune 11, 2025 12:14
Copy link
Member

@ByronByron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks a lot!

Even though I cannot truly say I know this is correct, there is a test that would probably fail with an exception without the fix so it's better than before.

david0 reacted with thumbs up emoji
@ByronByron merged commit7677c05 intogitpython-developers:mainJun 11, 2025
27 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ByronByronByron approved these changes

Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Submodule from relative URL
2 participants
@david0@Byron

[8]ページ先頭

©2009-2025 Movatter.jp