Skip to content

Commit 298f22e

Browse files
authored
Merge pull request #2045 from uberroot4/main
#2020: Fixed no_locations options for diffing
2 parents 08e7777 + b7c1f2c commit 298f22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix/src/diff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl Options {
6767
impl Options {
6868
/// Do not keep track of filepaths at all, which will leave all `location` fields empty.
6969
pub fn no_locations(&mut self) -> &mut Self {
70-
self.location = Some(Location::FileName);
70+
self.location = None;
7171
self
7272
}
7373

0 commit comments

Comments
 (0)