aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/attribute.go
diff options
context:
space:
mode:
authorJonRB <4564448+eeyrjmr@users.noreply.github.com>2025-03-30 05:46:28 +0100
committerGitHub <noreply@github.com>2025-03-30 12:46:28 +0800
commitd7a6133825942007a57c73e1f8ee112668f10283 (patch)
tree033bb34b2fcb565e3c06b74ccfad2cd73ad30a11 /modules/git/attribute.go
parent0b847f45845a3abaab23b7b5afd74e1099dd6fc9 (diff)
downloadgitea-main.tar.gz
gitea-main.zip
add additional ReplaceAll in pathsep to cater for different pathsep (#34061)HEADmain
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