Open
Description
Current behavior 😯
Hi,
I just saw today that the Setters for the Diff-Options in gix/src/diff.rs
has the same implementation for the no_locations
and track_filename
:
Lines 67 to 78 in 5f9de52
The doc for the no_locations
method says Do not keep track of filepaths at all [...]
, for the track_filename
it says Keep track of [...]
.
Expected behavior 🤔
Based on the documentation of the no_locations
method I would expect an impl like this:
/// Do not keep track of filepaths at all, which will leave all `location` fields empty.
pub fn no_locations(&mut self) -> &mut Self {
self.location = None;
self
}
Git behavior
/
Steps to reproduce 🕹
No response