diff options
author | JonRB <4564448+eeyrjmr@users.noreply.github.com> | 2025-03-30 05:46:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-30 12:46:28 +0800 |
commit | d7a6133825942007a57c73e1f8ee112668f10283 (patch) | |
tree | 033bb34b2fcb565e3c06b74ccfad2cd73ad30a11 /modules/git/attribute.go | |
parent | 0b847f45845a3abaab23b7b5afd74e1099dd6fc9 (diff) | |
download | gitea-main.tar.gz gitea-main.zip |
The doctor storage check reconstructs the lfs oid by producing a string
where the path separator is stripped
ab/dc/efg -> abdcefg. Windows however uses a backslash and thus the
ReplaceAll call doesn't produce the correct oid resulting in all lfs
objects being classed as orphaned.
This PR allows this to be more OS agnostic.
Closes #34039
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'modules/git/attribute.go')
0 files changed, 0 insertions, 0 deletions