diff options
author | zeripath <art27@cantab.net> | 2022-12-14 13:45:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 21:45:33 +0800 |
commit | cdc43454a49f97b663f885e18d0adc12253597a3 (patch) | |
tree | c6a110937dc72bf67d73d738cb587f42b57e43ff /go.mod | |
parent | 1b32ed014a61216b75d80643df53e120606ca763 (diff) | |
download | gitea-cdc43454a49f97b663f885e18d0adc12253597a3.tar.gz gitea-cdc43454a49f97b663f885e18d0adc12253597a3.zip |
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>
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions