Thread (74 messages) 74 messages, 5 authors, 2021-04-19

Re: [PATCH v3 8/8] rev-list: allow filtering of provided items

flat view

From: Patrick Steinhardt <hidden>
Date: 2021-04-12 13:15:29

On Fri, Apr 09, 2021 at 04:00:26PM +0100, Philip Oakley wrote:
typo nit.
On 09/04/2021 12:28, Patrick Steinhardt wrote:
quoted
When providing an object filter, it is currently impossible to also
filter provided items. E.g. when executing `git rev-list HEAD` , the
commit this reference points to will be treated as user-provided and is
thus excluded from the filtering mechanism. This makes it harder than
necessary to properly use the new `--filter=object:type` filter given
that even if the user wants to only see blobs, he'll still see commits
of provided references.

Improve this by introducing a new `--filter-provided` option to the
s/--filter-provided/--filter-provided-revisions/

Also in some tests - I presume the option should be spelled out in full.
Right. I did fix these in the resend because I forgot to stage changes,
but still had it in the commit message.

Fixed now, thanks!

Patrick

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help