Showing the changes to git-diff/src (1 of 1 file). Show all
Unified · Split
| @@ -92,7 +92,12 @@ impl<'a> visit::Changes<'a> { · 91 unmodified lines | ||
| 92 | 92 | match lhs_entries.next().transpose()? { |
| 93 | 93 | Some(lhs) => { |
| 94 | 94 | if lhs.filename == rhs.filename { |
| 95 | − // todo!("LESS: inner loop handle equality and type"); | |
| 95 | + handle_lhs_and_rhs_with_equal_filenames( | |
| 96 | + lhs, | |
| 97 | + rhs, | |
| 98 | + &mut state.trees, | |
| 99 | + delegate, | |
| 100 | + )?; | |
| 96 | 101 | break 'inner_less; |
| 97 | 102 | } else { |
| 98 | 103 | todo!("need test: inner loop handle cursor next"); |
| @@ -113,7 +118,12 @@ impl<'a> visit::Changes<'a> { · 14 unmodified lines | ||
| 113 | 118 | match rhs_entries.next().transpose()? { |
| 114 | 119 | Some(rhs) => { |
| 115 | 120 | if lhs.filename == rhs.filename { |
| 116 | − // todo!("GREATER: inner loop handle equality and type"); | |
| 121 | + handle_lhs_and_rhs_with_equal_filenames( | |
| 122 | + lhs, | |
| 123 | + rhs, | |
| 124 | + &mut state.trees, | |
| 125 | + delegate, | |
| 126 | + )?; | |
| 117 | 127 | break 'inner_greater; |
| 118 | 128 | } else { |
| 119 | 129 | delegate.pop_path_component(); |