Skip to content

Commit

Permalink
Fix unreachable pattern (#1349)
Browse files Browse the repository at this point in the history
Change: fix-pattern
  • Loading branch information
christian-schilling authored Aug 6, 2024
1 parent 7b72a8e commit 4a6eec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion josh-core/src/filter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ fn resolve_refs2(refs: &std::collections::HashMap<String, git2::Oid>, op: &Op) -
),
Op::Exclude(filter) => Op::Exclude(resolve_refs(refs, *filter)),
Op::Chain(a, b) => Op::Chain(resolve_refs(refs, *a), resolve_refs(refs, *b)),
Op::Chain(a, b) => Op::Subtract(resolve_refs(refs, *a), resolve_refs(refs, *b)),
Op::Subtract(a, b) => Op::Subtract(resolve_refs(refs, *a), resolve_refs(refs, *b)),
Op::Rev(filters) => {
let lr = filters
.into_iter()
Expand Down

0 comments on commit 4a6eec2

Please sign in to comment.