0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 19:44:38 +01:00
gitea/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>
2022-12-14 21:45:33 +08:00
..
agit Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
asymkey
attachment Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
auth refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
automerge refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
context
cron
externalaccount
forms Allow disable code tab (#20805) 2022-12-12 13:29:27 +08:00
gitdiff
issue Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
lfs refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
mailer refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
markup
migrations refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
mirror
org
packages
pull Correctly handle moved files in apply patch (#22118) 2022-12-14 21:45:33 +08:00
release Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
repository Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
task
user
webhook
wiki