From: Jonathan Tan Date: Tue, 11 Sep 2018 17:19:03 GMT Subject: Re: Is it possible to git clone --filter= without any objects? Message-ID: In-Reply-To: On Tue, Sep 11, 2018 at 10:15 AM, Stefan Beller wrote: > You might be pleased to hear about a series floating on the mailing list, > that started at > https://public-inbox.org/git/cover.1533854545.git.matvore@google.com/ > and promised to filter trees away, and its latest version can be found at > https://public-inbox.org/git/cover.1536081438.git.matvore@google.com/ I mentioned this in an email to the original poster in which I forgot to also CC the mailing list: By "without any objects" in your email subject, do you mean "without blob and tree objects"? If yes, there is some code in the md/filter-trees branch that can do that with a "--filter=tree:0" option. As far as I know, it is not yet in any released version of Git, but hopefully will be in the next one (the "What's Cooking" [1] email mentions that it will be merged to the "next" branch, which is one of the steps before it is released). [1] https://public-inbox.org/git/xmqqmusw6gbo.fsf@gitster-ct.c.googlers.com/