gitea/services/repository
Zettat123 4de5cd9f36
Return empty url for submodule tree entries ()
Close .

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>
..
archiver refactor some functions to support ctx as first parameter ()
files Return empty url for submodule tree entries ()
adopt.go Repositories: by default disable all units except code and pulls on forks ()
adopt_test.go Implement FSFE REUSE for golang files ()
avatar.go Unify hashing for avatar ()
avatar_test.go Unify hashing for avatar ()
branch.go Supports wildcard protected branch ()
cache.go Implement FSFE REUSE for golang files ()
check.go Refactor git command package to improve security and maintainability ()
fork.go Repositories: by default disable all units except code and pulls on forks ()
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories ()
hooks.go Implement FSFE REUSE for golang files ()
lfs.go Add cron method to gc LFS MetaObjects ()
main_test.go Implement FSFE REUSE for golang files ()
push.go Add context cache as a request level cache ()
repository.go Rename almost all Ctx functions ()
repository_test.go refactor some functions to support ctx as first parameter ()
review.go Rename `repo.GetOwner` to `repo.LoadOwner` ()
review_test.go Implement FSFE REUSE for golang files ()
template.go Scoped labels ()
transfer.go Rename `repo.GetOwner` to `repo.LoadOwner` ()
transfer_test.go Rename almost all Ctx functions ()