0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
forgejo/services/mailer
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
..
mail.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
mail_comment.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
mail_issue.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
mail_release.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
mail_repo.go Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
mail_test.go Add List-Unsubscribe header (#17804) 2021-12-21 22:53:03 +00:00
mailer.go Add option to convert CRLF to LF line endings for sendmail (#18075) 2022-01-06 01:43:45 +01:00
mailer_test.go refactoring nits (#18188) 2022-01-05 07:27:53 +01:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00