Skip to content

regression: relative URL paths in .gitmodules no longer produce correct submodule links #35033

Closed
@AdamMajer

Description

@AdamMajer

Description

Relative paths in url= elements of .gitmodules used to work with 1.23.7 but now fail to work with 1.24.2 and latest demo. For example,

https://demo.gitea.com/gnuman/rel_submodule_test

The format in .gitmodules is url=../../org/repo instead of url=https://demo.gitea.com/org/repo. The relative path allows one to move repositories to different instance and the checkout will continues to work.

Gitea Version

1.24.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Self-hosted

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions