You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
zeripath cdc43454a4
Correctly handle moved files in apply patch (#22118)
Moved files in a patch will result in git apply returning:

```
error: {filename}: No such file or directory
```

This wasn't handled by the git apply patch code. This PR adds handling
for this.

Fix #22083

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2 years ago
..
agit Rename almost all Ctx functions (#22071) 2 years ago
asymkey Implement FSFE REUSE for golang files (#21840) 2 years ago
attachment Add API management for issue/pull and comment attachments (#21783) 2 years ago
auth refactor some functions to support ctx as first parameter (#21878) 2 years ago
automerge refactor some functions to support ctx as first parameter (#21878) 2 years ago
context Implement FSFE REUSE for golang files (#21840) 2 years ago
cron Implement FSFE REUSE for golang files (#21840) 2 years ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Allow disable code tab (#20805) 2 years ago
gitdiff Implement FSFE REUSE for golang files (#21840) 2 years ago
issue Rename almost all Ctx functions (#22071) 2 years ago
lfs refactor some functions to support ctx as first parameter (#21878) 2 years ago
mailer refactor some functions to support ctx as first parameter (#21878) 2 years ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations refactor some functions to support ctx as first parameter (#21878) 2 years ago
mirror Implement FSFE REUSE for golang files (#21840) 2 years ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
pull Correctly handle moved files in apply patch (#22118) 2 years ago
release Add API management for issue/pull and comment attachments (#21783) 2 years ago
repository Rename almost all Ctx functions (#22071) 2 years ago
task Implement FSFE REUSE for golang files (#21840) 2 years ago
user Implement FSFE REUSE for golang files (#21840) 2 years ago
webhook Implement FSFE REUSE for golang files (#21840) 2 years ago
wiki Implement FSFE REUSE for golang files (#21840) 2 years ago