0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-12 00:28:41 -05:00
forgejo/services/repository/files
Gusted 532c35c25a Fix: return correct type in GetSubModule
- `GetSubModules` already solely stores the URL of the submodule and not
a `*SubModule` entry, so don't try to type assert it to be a struct.
- I am not able to pinpoint when this was regressed but if I had to
guess it might be #4941.
- Added integration test.

(cherry picked from commit e7cffc378f)
2024-12-03 03:24:54 +00:00
..
cherry_pick.go
commit.go
content.go Fix: return correct type in GetSubModule 2024-12-03 03:24:54 +00:00
content_test.go [TESTS] Fix usage of LoadRepoCommit 2024-08-26 08:03:48 +02:00
diff.go
diff_test.go [TESTS] Fix usage of LoadRepoCommit 2024-08-26 08:03:48 +02:00
file.go
file_test.go [TESTS] Fix usage of LoadRepoCommit 2024-08-26 08:03:48 +02:00
patch.go
temp_repo.go
temp_repo_test.go
tree.go
tree_test.go [TESTS] Fix usage of LoadRepoCommit 2024-08-26 08:03:48 +02:00
update.go
upload.go