forgejo/services/repository
Yarden Shoham 03864f78c5
Return empty url for submodule tree entries (#23043) (#23048)
Backport #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: Zettat123 <zettat123@gmail.com>
Co-authored-by: delvh <leon@kske.dev>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
(cherry picked from commit 8f5b2f1ddf)
2023-02-23 09:37:06 +01:00
..
archiver
files Return empty url for submodule tree entries (#23043) (#23048) 2023-02-23 09:37:06 +01:00
adopt.go Do not list active repositories as unadopted (#22034) (#22166) 2022-12-19 12:48:38 +00:00
adopt_test.go Fix repository adoption on Windows (#21646) (#21650) 2022-11-01 22:32:03 +00:00
avatar.go
avatar_test.go
branch.go
cache.go
check.go Continue GCing other repos on error in one repo (#22422) (#22425) 2023-01-13 15:29:16 -06:00
fork.go
fork_test.go
hooks.go
main_test.go
push.go When updating by rebase we need to set the environment for head repo (#22535) (#22536) 2023-01-19 17:31:20 -05:00
repository.go
repository_test.go
review.go
review_test.go
template.go
transfer.go
transfer_test.go