We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tree()
1 parent 7f38b93 commit d776656Copy full SHA for d776656
gix-diff/src/tree/function.rs
@@ -377,7 +377,7 @@ fn handle_lhs_and_rhs_with_equal_filenames(
377
(false, false) => {
378
delegate.push_path_component(lhs.filename);
379
debug_assert!(lhs.mode.is_no_tree() && lhs.mode.is_no_tree());
380
- if lhs.oid != rhs.oid
+ if (lhs.oid != rhs.oid || lhs.mode != rhs.mode)
381
&& delegate
382
.visit(Change::Modification {
383
previous_entry_mode: lhs.mode,
0 commit comments