1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 22:54:24 +00:00
gitea/services/repository/files
6543 c764355676
RepoAssignment ensure to close before overwrite (#19449)
* check if GitRepo already open and close if

* only run RepoAssignment once

* refactor context helper for api to open GitRepo
2022-04-21 17:17:57 +02:00
..
cherry_pick.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
commit.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
content_test.go RepoAssignment ensure to close before overwrite (#19449) 2022-04-21 17:17:57 +02:00
content.go RepoAssignment ensure to close before overwrite (#19449) 2022-04-21 17:17:57 +02:00
delete.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
diff_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
diff.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
file_test.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
file.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
patch.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
temp_repo.go Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
tree_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
tree.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
update.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
upload.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00