Re: [PATCH] [RFC] list-objects-filter: introduce new filter sparse:buffer=<spec>
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 8, 2022, 16:15 UTC
- Message-ID
- <xmqqczdau2yd.fsf@gitster.g>
- In-Reply-To
- <pull.1316.git.1659958159193.gitgitgadget@gmail.com>
"ZheNing Hu via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 7 quoted lines
> From: ZheNing Hu <adlternative@gmail.com> > > Although we already had a `--filter=sparse:oid=<oid>` which > can used to clone a repository with limited objects which meet > filter rules in the file corresponding to the <oid> on the git > server. But it can only read filter rules which have been record > in the git server before.
Was the reason why we have "we limit to an object we already have" restriction because we didn't want to blindly use a piece of uncontrolled arbigrary end-user data here? Just wondering.