forkjo/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 e7cffc378fe8dd3b77959ad318483e829013726a)
2024-12-03 03:24:54 +00:00
..
cherry_pick.go Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
commit.go Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-11 23:36:58 +07:00
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 Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
diff_test.go [TESTS] Fix usage of LoadRepoCommit 2024-08-26 08:03:48 +02:00
file.go [GITEA] Allow user to select email for file operations in Web UI 2024-02-05 16:09:41 +01:00
file_test.go [TESTS] Fix usage of LoadRepoCommit 2024-08-26 08:03:48 +02:00
patch.go Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
temp_repo.go [BUG] Use correct empty commit ID 2024-04-16 01:08:15 +02:00
temp_repo_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
tree.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 2024-02-26 22:30:26 +01:00
tree_test.go [TESTS] Fix usage of LoadRepoCommit 2024-08-26 08:03:48 +02:00
update.go Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-05-05 08:38:16 +01:00
upload.go [PERFORMANCE] git check-attr on bare repo if supported 2024-03-28 10:52:51 +01:00