mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ac2d97cb61
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. |
1 day ago | |
---|---|---|
.. | ||
testdata/academic-module | 3 months ago | |
csv.go | 1 year ago | |
csv_test.go | 3 weeks ago | |
gitdiff.go | 2 weeks ago | |
gitdiff_test.go | 3 weeks ago | |
highlightdiff.go | 1 year ago | |
highlightdiff_test.go | 2 years ago | |
main_test.go | 1 year ago | |
submodule.go | 3 weeks ago | |
submodule_test.go | 1 day ago |