0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 04:08:25 +01:00
gitea/services/repository
Zettat123 4de5cd9f36
Return empty url for submodule tree entries (#23043)
Close #22614.

Refer to [Github's
API](https://docs.github.com/en/rest/git/trees?apiVersion=2022-11-28#get-a-tree),
if a tree entry is a submodule, its url will be an empty string.

---------

Co-authored-by: delvh <leon@kske.dev>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-02-21 12:31:17 -05:00
..
archiver
files
adopt_test.go
adopt.go
avatar_test.go
avatar.go
branch.go
cache.go
check.go
fork_test.go
fork.go
hooks.go
lfs.go
main_test.go
push.go
repository_test.go
repository.go
review_test.go
review.go
template.go
transfer_test.go
transfer.go