Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submodules not linked if file format not in default order #32568

Closed
AdamMajer opened this issue Nov 19, 2024 · 1 comment · Fixed by #32571
Closed

Submodules not linked if file format not in default order #32568

AdamMajer opened this issue Nov 19, 2024 · 1 comment · Fixed by #32571
Labels
Milestone

Comments

@AdamMajer
Copy link
Contributor

AdamMajer commented Nov 19, 2024

Description

A submodule that is listed in .gitmodules as,

[submodule "jakarta-servlet"]
        url = ../../ALP-pool/jakarta-servlet
        path = jakarta-servlet

is not linked in the repository view. A submodule that is listed in the other order is linked correctly.

[submodule "jakarta-servlet"]
        path = jakarta-servlet
        url = ../../ALP-pool/jakarta-servlet

The gitmodules.txt doesn't seem to impose any particular order on values.

NOTE: Demo site is down at this second so can't check if I can reproduce it there.

Gitea Version

1.22.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

No response

How are you running Gitea?

It's built and running with systemd, using core git tools

Database

PostgreSQL

@wxiaoguang
Copy link
Contributor

Bug ...........

image

@lunny lunny added this to the 1.22.4 milestone Nov 19, 2024
@lunny lunny closed this as completed in 33850a8 Nov 20, 2024
wxiaoguang added a commit that referenced this issue Nov 21, 2024
A quick fix for #32568
Partially backport from #32571
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants