gitea/services/repository/files
wxiaoguang 8f91bfe9d8
Fix submodule parsing when the gitmodules is missing (#35109)
Follow up #35096, fix #35095, fix #35115 and add more tests

The old code used some fragile behaviors which depend on the "nil"
receiver. This PR should be a complete fix for more edge cases.
2025-07-18 09:42:44 +00:00
..
cherry_pick.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
commit.go Move commits signature and verify functions to service layers (#33605) 2025-02-16 12:24:07 +00:00
content.go Support getting last commit message using contents-ext API (#34904) 2025-07-03 09:45:42 +08:00
content_test.go Support getting last commit message using contents-ext API (#34904) 2025-07-03 09:45:42 +08:00
diff.go Refactor some file edit related code (#34744) 2025-06-18 01:18:07 +00:00
diff_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
file.go Enable gocritic `equalFold` and fix issues (#34952) 2025-07-06 16:53:34 +00:00
file_test.go enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
patch.go Refactor "change file" API (#34855) 2025-06-25 11:25:20 -07:00
temp_repo.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
tree.go Fix submodule parsing when the gitmodules is missing (#35109) 2025-07-18 09:42:44 +00:00
tree_test.go Improve submodule relative path handling (#35056) 2025-07-14 23:28:34 +08:00
update.go Refactor "change file" API (#34855) 2025-06-25 11:25:20 -07:00
upload.go Refactor editor (#34780) 2025-06-21 19:20:51 +08:00