mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-08 21:55:47 +00:00
revset: remove stale comment about filter intersection with 'all()'
This should have been removed at e17fc89a8d
"revset: make filter node unary,
move candidates to outer intersection".
This commit is contained in:
parent
222d9a6527
commit
75e072b80c
1 changed files with 0 additions and 2 deletions
|
@ -1167,8 +1167,6 @@ fn transform_expression_bottom_up(
|
|||
/// help further optimization (e.g. combine `file(_)` matchers.)
|
||||
/// c. Wraps union of filter and set (e.g. `author(_) | heads()`), to
|
||||
/// ensure inner filter wouldn't need to evaluate all the input sets.
|
||||
///
|
||||
/// The resulting tree may contain redundant intersections like `all() & e`.
|
||||
fn internalize_filter(expression: &Rc<RevsetExpression>) -> Option<Rc<RevsetExpression>> {
|
||||
fn is_filter(expression: &RevsetExpression) -> bool {
|
||||
matches!(
|
||||
|
|
Loading…
Reference in a new issue