Re: Removing old objects from partial clone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Mar 29, 2023 at 2:13 AM <uzytkownik2@xxxxxxxxx> wrote:
>
> Hi,
>
> I'd like to periodically remove objects which:
>
>  - Are not reachable from newest N commits from any branch
>  - Can be fetched from server if needed
>
> Unfortunatly I work on large repo and git gc doesn't work as all
> objects are still technically reachable.

John Cai and I have been working on a new `--filter` option for `git
repack` that might help you but is dangerous to use (as it could
remove objects that haven't be pushed which could corrupt the repo).

We haven't been able to get it accepted but you may still find the
discussions and code interesting.

See https://lore.kernel.org/git/20221221040446.2860985-1-christian.couder@xxxxxxxxx/




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux