diff options
author | Yarden Shoham <hrsi88@gmail.com> | 2023-02-21 19:35:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 12:35:14 -0500 |
commit | 8f5b2f1ddf8e7dad04958f2190e1d717fdc9c177 (patch) | |
tree | 2505826600ef1a5fa46518b6038f4a8b5bb2c444 /modules/structs/utils.go | |
parent | bbfd34575a1b41d6c65dac34094502561296fa8f (diff) | |
download | gitea-8f5b2f1ddf8e7dad04958f2190e1d717fdc9c177.tar.gz gitea-8f5b2f1ddf8e7dad04958f2190e1d717fdc9c177.zip |
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>
Diffstat (limited to 'modules/structs/utils.go')
0 files changed, 0 insertions, 0 deletions