Skip to content

Commit

Permalink
copy-tracking: diff --name-only is a no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
fowles committed Aug 14, 2024
1 parent 49577f7 commit eccc3e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/src/diff_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,7 @@ impl<'a> DiffRenderer<'a> {
show_types(formatter, tree_diff, path_converter)?;
}
DiffFormat::NameOnly => {
let no_copy_tracking = Default::default();
let tree_diff = from_tree.diff_stream(to_tree, matcher, &no_copy_tracking);
let tree_diff = from_tree.diff_stream(to_tree, matcher, copy_records);
show_names(formatter, tree_diff, path_converter)?;
}
DiffFormat::Git { context } => {
Expand Down

0 comments on commit eccc3e2

Please sign in to comment.