1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-03 13:34:28 +00:00
Rowan Bohde ac2d97cb61
Link to tree views of submodules if possible (#33424)
This is a follow-up to https://github.com/go-gitea/gitea/pull/33097. 

When linking a submodule at a commit in either the repo view, or a diff
when adding a new submodule, link to the tree view of that submodules
intead of the individual commit. This shows the user the full tree,
instead of the diff of the commit.

This makes the assumption that the tree for a given SHA is at
`<repo_url>/tree/<sha>`. This URL format is supported by both Github &
Gitlab, but not Gitea. To fix this, add a redirect from
`<username>/<repo>/tree/<ref>` to `<username>/<repo>/src/<ref>`, so that
Gitea can support this URL structure.
2025-01-30 00:09:52 +00:00
..
2025-01-08 01:38:30 +00:00
2024-02-24 18:46:49 +00:00
2025-01-21 18:57:07 +00:00
2025-01-13 14:01:53 +08:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2024-11-02 11:20:22 +00:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2024-05-03 09:13:48 +00:00
2024-09-10 02:23:07 +00:00
2025-01-13 14:01:53 +08:00
2025-01-13 14:01:53 +08:00
2023-07-12 19:07:29 +02:00
2024-10-29 18:27:03 +02:00
2024-11-20 19:26:12 +00:00

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.