Christian Couder <christian.couder@xxxxxxxxx> 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=<filter-spec>` option in `git repack`. Very interesting idea, indeed, and would be very useful. Thanks.