summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2023-01-28 15:54:40 +0000
committerGitHub <noreply@github.com>2023-01-28 15:54:40 +0000
commit78e6b21c1a4c9867dd3054d6c167cc80407b020d (patch)
treec4c3d0bd55d7269ed0f625cb992d0fafbe43beda /routers
parente9cd18b5578cdf84264f3d69a5f166a33d74b4e3 (diff)
downloadgitea-78e6b21c1a4c9867dd3054d6c167cc80407b020d.tar.gz
gitea-78e6b21c1a4c9867dd3054d6c167cc80407b020d.zip
Improve checkIfPRContentChanged (#22611)
The code for checking if a commit has caused a change in a PR is extremely inefficient and affects the head repository instead of using a temporary repository. This PR therefore makes several significant improvements: * A temporary repo like that used in merging. * The diff code is then significant improved to use a three-way diff instead of comparing diffs (possibly binary) line-by-line - in memory... Ref #22578 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'routers')
0 files changed, 0 insertions, 0 deletions