aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/commit_test.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2025-06-05 01:09:08 +0800
committerGitHub <noreply@github.com>2025-06-04 17:09:08 +0000
commit108db0b04f007a0dc03262cb100aa1fe7b80e785 (patch)
treec398976b13a731f84a3e38a572eb988b7673601f /modules/git/commit_test.go
parent497b83b75d567e6ee867d6be41ce37c4cee74e7e (diff)
downloadgitea-108db0b04f007a0dc03262cb100aa1fe7b80e785.tar.gz
gitea-108db0b04f007a0dc03262cb100aa1fe7b80e785.zip
Fix possible pull request broken when leave the page immediately after clicking the update button (#34509)
If user leaves the page, the context will become cancelled, so that the update process maybe terminal in an unexpected status. This PR haven't resolve the problem totally. It uses a background context to not cancel the update process even if the user leaved the pull request view page. Fix #31779
Diffstat (limited to 'modules/git/commit_test.go')
0 files changed, 0 insertions, 0 deletions