mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-03 19:37:52 +00:00
Backport #34061 by eeyrjmr 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: JonRB <4564448+eeyrjmr@users.noreply.github.com> |
||
---|---|---|
.. | ||
actions.go | ||
authorizedkeys.go | ||
breaking.go | ||
checkOldArchives.go | ||
dbconsistency_test.go | ||
dbconsistency.go | ||
dbversion.go | ||
doctor.go | ||
fix8312.go | ||
fix16961_test.go | ||
fix16961.go | ||
heads.go | ||
lfs.go | ||
main_test.go | ||
mergebase.go | ||
misc.go | ||
paths.go | ||
repository.go | ||
storage.go | ||
usertype.go |