forgejo/services/repository
wxiaoguang 0710de9d0d
Fix loadOneBranch panic (#29938)
Try to fix #29936

Far from ideal, but still better than panic.

(cherry picked from commit 21151474e36eecc5b808963b924cd27ec34e0608)
2024-03-26 19:04:26 +01:00
..
archiver Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
commitstatus fix commit_status 2024-03-24 07:11:19 +01:00
files Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-11 23:36:58 +07:00
adopt.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-11 23:36:59 +07:00
adopt_test.go
avatar.go
avatar_test.go
branch.go Fix loadOneBranch panic (#29938) 2024-03-26 19:04:26 +01:00
cache.go
check.go
collaboration.go
collaboration_test.go
commit.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
contributors_graph.go Implement code frequency graph (#29191) 2024-02-26 22:30:26 +01:00
contributors_graph_test.go Implement contributors graph (#27882) 2024-02-17 23:24:31 +01:00
create.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-11 23:36:59 +07:00
create_test.go [CLEANUP] make golangci-lint@v1.56.1 happy 2024-02-15 16:19:36 +01:00
delete.go
delete_test.go
fork.go
fork_test.go
generate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-11 23:36:59 +07:00
generate_test.go Move generate from module to service (#29465) 2024-03-06 12:10:44 +08:00
hooks.go
init.go Move generate from module to service (#29465) 2024-03-06 12:10:44 +08:00
lfs.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
lfs_test.go
main_test.go
migrate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-11 23:36:59 +07:00
push.go Sync branches to DB immediately when handle git hook calling (gitea#29493) 2024-03-18 17:38:01 +01:00
repository.go
repository_test.go
review.go
review_test.go
setting.go Revert "Fix schedule tasks bugs (#28691)" (part 2) 2024-02-05 16:54:44 +01:00
template.go Move generate from module to service (#29465) 2024-03-06 12:10:44 +08:00
transfer.go
transfer_test.go