From: Junio C Hamano Date: Wed, 14 Jun 2023 21:36:12 GMT Subject: Re: [PATCH 0/9] Repack objects into separate packfiles based on a filter Message-ID: In-Reply-To: <20230614192541.1599256-1-christian.couder@gmail.com> Christian Couder writes: > In some discussions, it was mentioned that such a feature, or a > similar feature in `git gc`, or in a new standalone command (perhaps > called `git prune-filtered`), should put the filtered out objects into > a new packfile instead of deleting them. > > Recently there were internal discussions at GitLab about either moving > blobs from inactive repos onto cheaper storage, or moving large blobs > onto cheaper storage. This lead us to rethink at repacking using a > filter, but moving the filtered out objects into a separate packfile > instead of deleting them. > > So here is a new patch series doing that while implementing the > `--filter=` option in `git repack`. Very interesting idea, indeed, and would be very useful. Thanks.