Skip to content

Commit

Permalink
use intersects instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jupyterkat committed Jun 24, 2024
1 parent d3a65e0 commit e573b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/mapdiffbot2/src/git_operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ fn commit_all_stragglers(repo: &Repository) -> Result<()> {
.statuses(None)?
.into_iter()
.find(|item| {
item.status().contains(
item.status().intersects(
git2::Status::INDEX_NEW
| git2::Status::INDEX_MODIFIED
| git2::Status::INDEX_DELETED
Expand Down

0 comments on commit e573b6f

Please sign in to comment.