Files
git/builtin
Derrick Stolee c4ea513f4a rev-list: move --filter parsing into revision.c
Now that 'struct rev_info' has a 'filter' member and most consumers of
object filtering are using that member instead of an external struct,
move the parsing of the '--filter' option out of builtin/rev-list.c and
into revision.c.

This use within handle_revision_pseudo_opt() allows us to find the
option within setup_revisions() if the arguments are passed directly. In
the case of a command such as 'git blame', the arguments are first
scanned and checked with parse_revision_opt(), which complains about the
option, so 'git blame --filter=blob:none <file>' does not become valid
with this change.

Some commands, such as 'git diff' gain this option without having it
make an effect. And 'git diff --objects' was already possible, but does
not actually make sense in that builtin.

The key addition that is coming is 'git bundle create --filter=<X>' so
we can create bundles containing promisor packs. More work is required
to make them fully functional, but that will follow.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-03-09 10:25:27 -08:00
..
2022-01-27 18:00:15 -08:00
2022-02-09 14:21:00 -08:00
2020-07-30 19:18:06 -07:00
2022-02-11 10:06:41 -08:00
2022-02-17 16:25:05 -08:00
2021-10-28 09:57:09 -07:00
2021-02-25 16:43:30 -08:00
2022-02-09 14:21:00 -08:00
2021-10-23 10:45:25 -07:00
2022-02-16 15:14:29 -08:00
2021-04-14 13:47:21 -07:00
2021-09-28 10:31:02 -07:00
2022-01-10 11:52:53 -08:00
2022-01-03 16:24:15 -08:00
2022-02-17 16:25:05 -08:00
2022-01-10 11:52:56 -08:00
2022-02-11 10:06:41 -08:00
2022-02-16 15:14:30 -08:00
2022-01-05 13:31:00 -08:00
2021-11-03 13:25:36 -07:00
2020-08-11 18:04:11 -07:00