1
0
Fork 0
forgejo/models/db
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868)
This PR continues the work in #17125 by progressively ensuring that git
commands run within the request context.

This now means that the if there is a git repo already open in the context it will be used instead of reopening it.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-01-19 23:26:57 +00:00
..
install Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
paginator Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
context.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
convert.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
engine.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
error.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
index.go Fix commit status index problem (#17061) 2021-09-23 18:50:06 +08:00
list_options.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
log.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
name.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
search.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
sequence.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
sql_postgres_with_schema.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00