revset: remove stale comment about regex pattern

This commit is contained in:
Yuya Nishihara 2025-01-20 15:28:22 +09:00
parent 9314df9e38
commit 206acadd49

View file

@ -1163,8 +1163,6 @@ fn build_predicate_fn(
}
RevsetFilterPredicate::Author(pattern) => {
let pattern = pattern.clone();
// TODO: Make these functions that take a needle to search for accept some
// syntax for specifying whether it's a regex.
box_pure_predicate_fn(move |index, pos| {
let entry = index.entry_by_pos(pos);
let commit = store.get_commit(&entry.commit_id())?;