Skip to content

git LFS data directory cleanup #8519

@8ctopus

Description

@8ctopus
  • Gitea version (or commit ref): 1.10.0-rc1
  • Git version: 2.17.1
  • Operating system: Ubuntu 18.04.3 LTS
  • Database (use [x]):
    • MySQL
  • Can you reproduce the bug at https://try.gitea.io:
    • Not relevant

1.10.0-rc1 fixes #8423, however I've noticed that empty directories are not deleted. It's not a big deal but could be cleaner.

.:
total 12
drwxr-xr-x 3 gitea gitea 4096 Oct 15 04:50 .
drwxr-xr-x 3 gitea gitea 4096 Oct  3 11:30 ..
drwxr-x--- 3 gitea gitea 4096 Oct 15 04:50 e6

./e6:
total 12
drwxr-x--- 3 gitea gitea 4096 Oct 15 04:50 .
drwxr-xr-x 3 gitea gitea 4096 Oct 15 04:50 ..
drwxr-x--- 2 gitea gitea 4096 Oct 15 04:51 e4

./e6/e4:
total 8
drwxr-x--- 2 gitea gitea 4096 Oct 15 04:51 .
drwxr-x--- 3 gitea gitea 4096 Oct 15 04:50 ..

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedissue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtopic/lfstype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions