Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
extrawurst committed Sep 9, 2023
1 parent aa2d0f5 commit b8ec0bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions asyncgit/src/sync/commit_files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ pub(crate) fn commit_detect_file_rename(
DiffFindOptions::new()
.renames(true)
.renames_from_rewrites(true)
.rename_from_rewrite_threshold(100)
.rewrites(true),
.rename_from_rewrite_threshold(100),
))?;

let current_path = std::path::Path::new(pathspec);
Expand Down

0 comments on commit b8ec0bb

Please sign in to comment.